mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-13 19:58:21 +00:00
c05562a227
* Use RecastNavigation CMakeLists * Use tinyxml2 CMakeLists * Use bcrypt CMakeLists * Move variable init to CMakeLists This has to be done here to prevent missing dependency errors. * General improvements Only link dynamic if on gnu use more thirdparty cmakes * Disable tinyxml2 testing
11 lines
302 B
CMake
11 lines
302 B
CMake
set(DNAVIGATION_SOURCES "dNavMesh.cpp")
|
|
|
|
add_subdirectory(dTerrain)
|
|
|
|
foreach(file ${DNAVIGATIONS_DTERRAIN_SOURCES})
|
|
set(DNAVIGATION_SOURCES ${DNAVIGATION_SOURCES} "dTerrain/${file}")
|
|
endforeach()
|
|
|
|
add_library(dNavigation STATIC ${DNAVIGATION_SOURCES})
|
|
target_link_libraries(dNavigation Detour Recast)
|