Skip to content

Commit 0ddd6b9

Browse files
authored
Crude Recast CMake workaround
1 parent 011dfb3 commit 0ddd6b9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

extern/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ if(NOT OPENMW_USE_SYSTEM_RECASTNAVIGATION)
172172
set(RECASTNAVIGATION_DEMO OFF CACHE BOOL "")
173173
set(RECASTNAVIGATION_TESTS OFF CACHE BOOL "")
174174
set(RECASTNAVIGATION_EXAMPLES OFF CACHE BOOL "")
175+
# FIXME: Remove when the used revision starts using >3.4 CMake
176+
set(CMAKE_POLICY_VERSION_MINIMUM 3.10)
175177

176178
include(FetchContent)
177179
FetchContent_Declare(recastnavigation

0 commit comments

Comments
 (0)