diff --git a/GUI/main/CMakeLists.txt b/GUI/main/CMakeLists.txt index db49e4ffc5d02992a37523346d13d308e0b22636..732fbe61f1ff75f7c23f2339c1c3a5e9c2da015d 100644 --- a/GUI/main/CMakeLists.txt +++ b/GUI/main/CMakeLists.txt @@ -91,6 +91,8 @@ endif() # ----------------------------------------------------------------------------- if(BORNAGAIN_APPLE_BUNDLE) set(executable_destination BUNDLE DESTINATION ".") +elseif(WIN32) + set(executable_destination DESTINATION "${destination_gui}") else() set(executable_destination DESTINATION "${destination_gui}/exec") endif()