diff --git a/cmake/win/WinFunctions.cmake b/cmake/win/WinFunctions.cmake index d693af3..c56cfa7 100644 --- a/cmake/win/WinFunctions.cmake +++ b/cmake/win/WinFunctions.cmake @@ -17,4 +17,8 @@ function(librw_platform_target TARGET) target_link_options(${TARGET} INTERFACE -Wl,--undefined,WinMain) endif() endif() + + set_target_properties(${TARGET} PROPERTIES + VS_DEBUGGER_WORKING_DIRECTORY "$" + ) endfunction()