Win tests compilation fix. For Windows, the build was failing because of not being...
authorallexzander <blackslayer4@gmail.com>
Tue, 2 Feb 2021 18:32:38 +0000 (20:32 +0200)
committerallexzander <blackslayer4@gmail.com>
Wed, 3 Feb 2021 11:52:10 +0000 (13:52 +0200)
Signed-off-by: allexzander <blackslayer4@gmail.com>
src/csync/CMakeLists.txt

index 8e4e6a3d8451ada411e51bd48f25839b323c151a..268914d2f0a745353d8cc1d1c7d987f8912e5066 100644 (file)
@@ -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()