set working directory to project root

main
Moros Smith 3 months ago
parent 5e66fd009e
commit 3c75a8db28
  1. 2
      CMakeLists.txt

@ -169,7 +169,7 @@ if(WIN32 AND MSVC)
# set working directory for Visual Studio Debugger # set working directory for Visual Studio Debugger
set_target_properties( set_target_properties(
${OutputExecutable} PROPERTIES ${OutputExecutable} PROPERTIES
VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/bin" VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
) )
# set subsytem, console if HAS_TERMINAL is true. windows if not # set subsytem, console if HAS_TERMINAL is true. windows if not

Loading…
Cancel
Save