Browse Source

CMake NMake fix to place exe in game directory

wcb 10 years ago
parent
commit
845ec9c452
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Tools/CMake/basics.cmake

+ 1 - 0
Tools/CMake/basics.cmake

@@ -393,6 +393,7 @@ endif()
 
 # fix the debug/release subfolders on windows
 if(MSVC)
+    SET("CMAKE_RUNTIME_OUTPUT_DIRECTORY" "${projectOutDir}")
     FOREACH(CONF ${CMAKE_CONFIGURATION_TYPES})
         # Go uppercase (DEBUG, RELEASE...)
         STRING(TOUPPER "${CONF}" CONF)