Merge pull request #2901 from nextcloud/win-tests-compilation-hot-fix

Win tests compilation fix.
This commit is contained in:
allexzander 2021-02-03 20:12:56 +02:00 committed by GitHub
commit a94c109646
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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()