|
|
@ -16,6 +16,8 @@ macro(FetchContent_MakeAvailableExcludeFromAll)
|
|
|
|
endmacro()
|
|
|
|
endmacro()
|
|
|
|
|
|
|
|
|
|
|
|
if(NOT OPENMW_USE_SYSTEM_BULLET)
|
|
|
|
if(NOT OPENMW_USE_SYSTEM_BULLET)
|
|
|
|
|
|
|
|
cmake_minimum_required(VERSION 3.11) # for FetchContent
|
|
|
|
|
|
|
|
|
|
|
|
set(BUILD_BULLET3 OFF CACHE BOOL "")
|
|
|
|
set(BUILD_BULLET3 OFF CACHE BOOL "")
|
|
|
|
set(BUILD_EXTRAS OFF CACHE BOOL "")
|
|
|
|
set(BUILD_EXTRAS OFF CACHE BOOL "")
|
|
|
|
set(BUILD_OPENGL3_DEMOS OFF CACHE BOOL "")
|
|
|
|
set(BUILD_OPENGL3_DEMOS OFF CACHE BOOL "")
|
|
|
@ -50,6 +52,8 @@ if(NOT OPENMW_USE_SYSTEM_BULLET)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
if(NOT OPENMW_USE_SYSTEM_MYGUI)
|
|
|
|
if(NOT OPENMW_USE_SYSTEM_MYGUI)
|
|
|
|
|
|
|
|
cmake_minimum_required(VERSION 3.11) # for FetchContent
|
|
|
|
|
|
|
|
|
|
|
|
set(MYGUI_STATIC ON CACHE BOOL "")
|
|
|
|
set(MYGUI_STATIC ON CACHE BOOL "")
|
|
|
|
|
|
|
|
|
|
|
|
set(MYGUI_RENDERSYSTEM 4 CACHE STRING "")
|
|
|
|
set(MYGUI_RENDERSYSTEM 4 CACHE STRING "")
|
|
|
@ -71,6 +75,8 @@ if(NOT OPENMW_USE_SYSTEM_MYGUI)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
if(NOT OPENMW_USE_SYSTEM_OSG)
|
|
|
|
if(NOT OPENMW_USE_SYSTEM_OSG)
|
|
|
|
|
|
|
|
cmake_minimum_required(VERSION 3.11) # for FetchContent
|
|
|
|
|
|
|
|
|
|
|
|
set(OSG_STATIC ON CACHE BOOL "")
|
|
|
|
set(OSG_STATIC ON CACHE BOOL "")
|
|
|
|
|
|
|
|
|
|
|
|
set(DYNAMIC_OPENTHREADS OFF CACHE BOOL "")
|
|
|
|
set(DYNAMIC_OPENTHREADS OFF CACHE BOOL "")
|
|
|
|