summaryrefslogtreecommitdiffstats
path: root/tests/OSSupport
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-10-15 11:35:44 +0200
committerGitHub <noreply@github.com>2020-10-15 11:35:44 +0200
commita145980795a4f37ebb9857bddb7427a184bbd6dd (patch)
treefb7ec4db18b92590b5036885c1dc39c3d42f83ca /tests/OSSupport
parentAdded missing return types and fixed param types (#4996) (diff)
downloadcuberite-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')
-rw-r--r--tests/OSSupport/CMakeLists.txt16
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}