mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-29 03:19:44 +00:00
Add support for msvc with cmake version pre 3.9 (fixes #4429)
This commit is contained in:
parent
f8c2caf309
commit
7cafec9861
@ -172,7 +172,7 @@ macro (get_generator_is_multi_config VALUE)
|
||||
if (CMAKE_VERSION VERSION_GREATER 3.9 OR CMAKE_VERSION VERSION_EQUAL 3.9)
|
||||
get_cmake_property(${VALUE} GENERATOR_IS_MULTI_CONFIG)
|
||||
else (CMAKE_VERSION VERSION_GREATER 3.9 OR CMAKE_VERSION VERSION_EQUAL 3.9)
|
||||
list(LENGTH "${CMAKE_CONFIGURATION_TYPES}" ${VALUE})
|
||||
list(LENGTH CMAKE_CONFIGURATION_TYPES ${VALUE})
|
||||
endif (CMAKE_VERSION VERSION_GREATER 3.9 OR CMAKE_VERSION VERSION_EQUAL 3.9)
|
||||
endif (DEFINED generator_is_multi_config_var)
|
||||
endmacro (get_generator_is_multi_config)
|
||||
|
Loading…
Reference in New Issue
Block a user