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)