mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +00:00
e6c7f744b5
* Implement terrain file reading to generate navmeshes in the future * Make Emo's suggested changes.
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)
|