Explorar o código

Merge pull request #1421 from blackwc/cmake-nmake-fix

CMake NMake fix to place exe in game directory
Areloch %!s(int64=10) %!d(string=hai) anos
pai
achega
f08e31346d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)