Skip to content

Commit 3f80af0

Browse files
authored
Using CMAKE_CURRENT_SOURCE_DIR instead of CMAKE_SOURCE_DIR to define TEST_SORCE_DIR variable
1 parent 2327977 commit 3f80af0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ hunter_add_package(sqlite3)
2323
find_package(Catch2 CONFIG REQUIRED)
2424
find_package(sqlite3 CONFIG REQUIRED)
2525

26-
set(TEST_SOURCE_DIR ${CMAKE_SOURCE_DIR}/tests)
26+
set(TEST_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/tests)
2727
file(GLOB TEST_SOURCES ${TEST_SOURCE_DIR}/*.cc)
2828

2929
IF(NOT ENABLE_SQLCIPHER_TESTS)

0 commit comments

Comments
 (0)