mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-23 14:03:34 +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)
|