Skip to content

Commit 5530c78

Browse files
committed
fix
1 parent 71d0f79 commit 5530c78

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/functests/CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,18 @@ endif()
4747

4848
if(PAL_IMPLEMENTATION STREQUAL "WIN32")
4949
find_package(gtest REQUIRED)
50-
find_package(sqlite3 REQUIRED)
50+
find_package(SQLite3 REQUIRED)
5151
find_package( ZLIB REQUIRED )
5252
# Link against prebuilt libraries on Windows
5353
message("--- WIN32: Linking against prebuilt libraries")
5454
message("--- WIN32: ... ${CMAKE_BINARY_DIR}/sqlite")
55-
include_directories(SYSTEM ${GTEST_INCLUDE_DIRS})
55+
include_directories( ${GTEST_INCLUDE_DIRS} )
56+
include_directories( ${GMOCK_INCLUDE_DIRS} )
5657
include_directories( ${ZLIB_INCLUDE_DIRS} )
58+
include_directories(${SQLite3_INCLUDE_DIRS} )
5759
message("GTEST_INCLUDE_DIRS = ${GTEST_INCLUDE_DIRS}")
5860
message("GTEST_BOTH_LIBRARIES = ${GTEST_BOTH_LIBRARIES}")
59-
message("SQLITE3_LIBRARIES = ${SQLITE3_LIBRARIES}")
61+
message("SQLite3_LIBRARIES = ${SQLite3_LIBRARIES} ${SQLite3_INCLUDE_DIRS}")
6062
message("ZLIB_LIBRARIES = ${ZLIB_LIBRARIES}")
6163

6264
target_link_libraries(FuncTests

0 commit comments

Comments
 (0)