diff options
| author | Shauren <shauren.trinity@gmail.com> | 2025-11-12 22:53:54 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2025-11-12 22:53:54 +0100 |
| commit | 33316999060dda030c3c6a43a68d84020928ce70 (patch) | |
| tree | d0ecb2d0ff3eaa11c27b6811c7de0eb4115b1fce /dep/recastnavigation/Detour/CMakeLists.txt | |
| parent | 7ccc2d4f6b972800f96f1631da1ff52542710d72 (diff) | |
Diffstat (limited to 'dep/recastnavigation/Detour/CMakeLists.txt')
| -rw-r--r-- | dep/recastnavigation/Detour/CMakeLists.txt | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/dep/recastnavigation/Detour/CMakeLists.txt b/dep/recastnavigation/Detour/CMakeLists.txt index 4ea573681f7..7e0fabb41af 100644 --- a/dep/recastnavigation/Detour/CMakeLists.txt +++ b/dep/recastnavigation/Detour/CMakeLists.txt @@ -8,27 +8,36 @@ # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -set(Detour_STAT_SRCS +add_library(Detour STATIC) + +target_sources(Detour + PRIVATE Source/DetourAlloc.cpp Source/DetourAssert.cpp Source/DetourCommon.cpp Source/DetourNavMesh.cpp Source/DetourNavMeshBuilder.cpp Source/DetourNavMeshQuery.cpp - Source/DetourNode.cpp -) + Source/DetourNode.cpp) -add_library(Detour STATIC ${Detour_STAT_SRCS}) - -target_include_directories(Detour +target_sources(Detour PUBLIC - ${CMAKE_CURRENT_SOURCE_DIR}/Include) + FILE_SET HEADERS + BASE_DIRS Include + FILES + Include/DetourAlloc.h + Include/DetourAssert.h + Include/DetourCommon.h + Include/DetourMath.h + Include/DetourNavMeshBuilder.h + Include/DetourNavMesh.h + Include/DetourNavMeshQuery.h + Include/DetourNode.h + Include/DetourStatus.h) target_link_libraries(Detour PRIVATE - trinity-dependency-interface - PUBLIC - zlib) + trinity-dependency-interface) set_target_properties(Detour PROPERTIES |
