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/OSSupport/CMakeLists.txt | |
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/OSSupport/CMakeLists.txt')
-rw-r--r-- | tests/OSSupport/CMakeLists.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/OSSupport/CMakeLists.txt b/tests/OSSupport/CMakeLists.txt index 9d481ce09..bbe58732f 100644 --- a/tests/OSSupport/CMakeLists.txt +++ b/tests/OSSupport/CMakeLists.txt @@ -1,17 +1,17 @@ find_package(Threads REQUIRED) -include_directories(${CMAKE_SOURCE_DIR}/src/) +include_directories(${PROJECT_SOURCE_DIR}/src/) # Create a single OSSupport library that contains all the OSSupport code used in the tests: set (OSSupport_SRCS - ${CMAKE_SOURCE_DIR}/src/OSSupport/CriticalSection.cpp - ${CMAKE_SOURCE_DIR}/src/OSSupport/Event.cpp - ${CMAKE_SOURCE_DIR}/src/StringUtils.cpp + ${PROJECT_SOURCE_DIR}/src/OSSupport/CriticalSection.cpp + ${PROJECT_SOURCE_DIR}/src/OSSupport/Event.cpp + ${PROJECT_SOURCE_DIR}/src/StringUtils.cpp ) set (OSSupport_HDRS - ${CMAKE_SOURCE_DIR}/src/OSSupport/CriticalSection.h - ${CMAKE_SOURCE_DIR}/src/OSSupport/Event.h - ${CMAKE_SOURCE_DIR}/src/StringUtils.h - ${CMAKE_SOURCE_DIR}/src/Globals.h + ${PROJECT_SOURCE_DIR}/src/OSSupport/CriticalSection.h + ${PROJECT_SOURCE_DIR}/src/OSSupport/Event.h + ${PROJECT_SOURCE_DIR}/src/StringUtils.h + ${PROJECT_SOURCE_DIR}/src/Globals.h ) add_library(OSSupport ${OSSupport_SRCS} |