mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 15:49:56 +00:00
26 lines
556 B
CMake
26 lines
556 B
CMake
cmake_minimum_required(VERSION 3.0)
|
|
|
|
# for link time optimization, remove if cmake version is >= 3.9
|
|
if(POLICY CMP0069)
|
|
cmake_policy(SET CMP0069 NEW)
|
|
endif()
|
|
|
|
project(RecastNavigation)
|
|
|
|
# lib versions
|
|
SET(SOVERSION 1)
|
|
SET(VERSION 1.0.0)
|
|
|
|
option(RECASTNAVIGATION_STATIC "Build static libraries" ON)
|
|
|
|
if(MSVC AND BUILD_SHARED_LIBS)
|
|
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
|
endif()
|
|
|
|
include(GNUInstallDirs)
|
|
|
|
add_subdirectory(DebugUtils)
|
|
add_subdirectory(Detour)
|
|
add_subdirectory(DetourCrowd)
|
|
add_subdirectory(DetourTileCache)
|
|
add_subdirectory(Recast)
|