mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-31 14:36:39 +00:00
Merge branch 'debugger-working-directory-workaround' into 'master'
Use a generator expression to specify the debugger working directory See merge request OpenMW/openmw!239
This commit is contained in:
commit
b70bedacdb
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ macro (openmw_add_executable target)
|
||||||
|
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
if (CMAKE_VERSION VERSION_GREATER 3.8 OR CMAKE_VERSION VERSION_EQUAL 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 "$<TARGET_FILE_DIR:${target}>")
|
||||||
endif (CMAKE_VERSION VERSION_GREATER 3.8 OR CMAKE_VERSION VERSION_EQUAL 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