diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-10-15 11:35:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-15 11:35:44 +0200 |
commit | a145980795a4f37ebb9857bddb7427a184bbd6dd (patch) | |
tree | fb7ec4db18b92590b5036885c1dc39c3d42f83ca /tests/UUID | |
parent | Added missing return types and fixed param types (#4996) (diff) | |
download | cuberite-a145980795a4f37ebb9857bddb7427a184bbd6dd.tar cuberite-a145980795a4f37ebb9857bddb7427a184bbd6dd.tar.gz cuberite-a145980795a4f37ebb9857bddb7427a184bbd6dd.tar.bz2 cuberite-a145980795a4f37ebb9857bddb7427a184bbd6dd.tar.lz cuberite-a145980795a4f37ebb9857bddb7427a184bbd6dd.tar.xz cuberite-a145980795a4f37ebb9857bddb7427a184bbd6dd.tar.zst cuberite-a145980795a4f37ebb9857bddb7427a184bbd6dd.zip |
Diffstat (limited to 'tests/UUID')
-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) |