Index: source/creator/CMakeLists.txt
===================================================================
--- source/creator/CMakeLists.txt	(revision 36230)
+++ source/creator/CMakeLists.txt	(working copy)
@@ -216,8 +216,7 @@
 
 # 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)
