forked from mirror/openmw-tes3mp
Change CMake version check to include 3.8
This commit is contained in:
parent
a9b95596bc
commit
c9f099ce07
1 changed files with 2 additions and 2 deletions
|
@ -146,8 +146,8 @@ endmacro (opencs_hdrs_noqt)
|
||||||
macro (openmw_add_executable target)
|
macro (openmw_add_executable target)
|
||||||
add_executable(${target} ${ARGN})
|
add_executable(${target} ${ARGN})
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
if (CMAKE_VERSION VERSION_GREATER 3.8)
|
if (CMAKE_VERSION VERSION_GREATER 3.8 OR CMAKE_VERSION VERSION_EQUAL 3.8)
|
||||||
set_target_properties(${target} PROPERTIES VS_DEBUGGER_WORKING_DIRECTORY "$(TargetDir)")
|
set_target_properties(${target} PROPERTIES VS_DEBUGGER_WORKING_DIRECTORY "$(TargetDir)")
|
||||||
endif (CMAKE_VERSION VERSION_GREATER 3.8)
|
endif (CMAKE_VERSION VERSION_GREATER 3.8 OR CMAKE_VERSION VERSION_EQUAL 3.8)
|
||||||
endif (MSVC)
|
endif (MSVC)
|
||||||
endmacro (openmw_add_executable)
|
endmacro (openmw_add_executable)
|
||||||
|
|
Loading…
Reference in a new issue