patch [#27070] cmake fix for nmake builds
authorCampbell Barton <ideasman42@gmail.com>
Thu, 21 Apr 2011 12:07:40 +0000 (12:07 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 21 Apr 2011 12:07:40 +0000 (12:07 +0000)
source/creator/CMakeLists.txt

index 92455e88246d0d7e63b4e918ed1a042d2a206618..87850528648e59abe1555a751787a32dcaa2bfbd 100644 (file)
@@ -217,7 +217,7 @@ endif()
 # Post build steps for bundling/packaging.
 
 
-if(MSVC)
+if(MSVC_IDE)
        # ${CMAKE_CFG_INTDIR} should replace \${BUILD_TYPE} when using add_command
        set(TARGETDIR ${EXECUTABLE_OUTPUT_PATH}/\${BUILD_TYPE})
 elseif(APPLE)