From 3c75a8db28daf40269b5950dd07da398ed558008 Mon Sep 17 00:00:00 2001 From: Moros Smith Date: Sun, 18 Aug 2024 10:52:52 -0400 Subject: [PATCH] set working directory to project root --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1576f00..5af694a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -169,7 +169,7 @@ if(WIN32 AND MSVC) # set working directory for Visual Studio Debugger set_target_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