CMake NMake fix to place exe in game directory

This commit is contained in:
wcb 2015-09-23 19:46:36 -04:00
parent e8d1238794
commit 845ec9c452

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)