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

CMake NMake fix to place exe in game directory
This commit is contained in:
Areloch 2015-09-27 16:42:18 -05:00
commit f08e31346d

View file

@ -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)