forked from teamnwah/openmw-tes3coop
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)
|
||||
add_executable(${target} ${ARGN})
|
||||
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)")
|
||||
endif (CMAKE_VERSION VERSION_GREATER 3.8)
|
||||
endif (CMAKE_VERSION VERSION_GREATER 3.8 OR CMAKE_VERSION VERSION_EQUAL 3.8)
|
||||
endif (MSVC)
|
||||
endmacro (openmw_add_executable)
|
||||
|
|
Loading…
Reference in a new issue