diff options
Diffstat (limited to 'tests/UUID/CMakeLists.txt')
-rw-r--r-- | tests/UUID/CMakeLists.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/UUID/CMakeLists.txt b/tests/UUID/CMakeLists.txt index f1d61e4a1..a99d53fb5 100644 --- a/tests/UUID/CMakeLists.txt +++ b/tests/UUID/CMakeLists.txt @@ -1,11 +1,11 @@ set (SHARED_SRCS - ${CMAKE_SOURCE_DIR}/src/UUID.cpp - ${CMAKE_SOURCE_DIR}/src/StringUtils.cpp + ${PROJECT_SOURCE_DIR}/src/UUID.cpp + ${PROJECT_SOURCE_DIR}/src/StringUtils.cpp ) set (SHARED_HDRS - ${CMAKE_SOURCE_DIR}/src/UUID.h - ${CMAKE_SOURCE_DIR}/src/StringUtils.h + ${PROJECT_SOURCE_DIR}/src/UUID.h + ${PROJECT_SOURCE_DIR}/src/StringUtils.h ) set (SRCS @@ -19,8 +19,8 @@ add_executable(UUIDTest ${SRCS} ${SHARED_SRCS} ${SHARED_HDRS}) target_link_libraries(UUIDTest mbedcrypto fmt::fmt) target_compile_definitions(UUIDTest PRIVATE TEST_GLOBALS=1) target_include_directories(UUIDTest PRIVATE - ${CMAKE_SOURCE_DIR}/src/ - ${CMAKE_SOURCE_DIR}/lib/mbedtls/include + ${PROJECT_SOURCE_DIR}/src/ + ${PROJECT_SOURCE_DIR}/lib/mbedtls/include ) add_test(NAME UUID-test COMMAND UUIDTest) |