|
|
|
@ -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)
|
|
|
|
|