From: allexzander Date: Tue, 2 Feb 2021 18:32:38 +0000 (+0200) Subject: Win tests compilation fix. For Windows, the build was failing because of not being... X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~21^2~379^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3d266b9246bb61c810cf81858b0c2b6768c988d7;p=nextcloud-desktop.git Win tests compilation fix. For Windows, the build was failing because of not being able to locate #include in tests. Signed-off-by: allexzander --- diff --git a/src/csync/CMakeLists.txt b/src/csync/CMakeLists.txt index 8e4e6a3d8..268914d2f 100644 --- a/src/csync/CMakeLists.txt +++ b/src/csync/CMakeLists.txt @@ -68,9 +68,9 @@ target_include_directories( find_package(SQLite3 3.9.0 REQUIRED) if (USE_OUR_OWN_SQLITE3) # make sure that the path for the local sqlite3 is before the system one - target_include_directories("${csync_NAME}" BEFORE PRIVATE ${SQLITE3_INCLUDE_DIR}) + target_include_directories("${csync_NAME}" BEFORE PUBLIC ${SQLITE3_INCLUDE_DIR}) else() - target_include_directories("${csync_NAME}" PRIVATE ${SQLITE3_INCLUDE_DIR}) + target_include_directories("${csync_NAME}" PUBLIC ${SQLITE3_INCLUDE_DIR}) endif()