changeset 305:3b79bd4298e8 signals

Fixed "make install" command on windows. http://www.dsource.org/forums/viewtopic.php?t=4931&sid=a9b3b6103c99ae05c76269fd7c6c5448
author Alexey Prokhin <alexey.prokhin@yandex.ru>
date Sat, 19 Dec 2009 18:43:32 +0300
parents 04b52676b45f
children 2485419c5c63
files CMakeLists.txt
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Sun Dec 13 06:24:55 2009 +0500
+++ b/CMakeLists.txt	Sat Dec 19 18:43:32 2009 +0300
@@ -123,14 +123,14 @@
 make_native_path(cd_path)
 add_custom_command(TARGET main POST_BUILD	
 	COMMAND ${CMAKE_COMMAND} ARGS -E make_directory ${CMAKE_BINARY_DIR}/build
-	COMMAND cd  ARGS ${cd_path} && ${CMAKE_COMMAND} -G${CMAKE_GENERATOR} -DSECOND_RUN=1 ${CMAKE_SOURCE_DIR} && ${make_util}
+	COMMAND cd ARGS ${cd_path} && ${CMAKE_COMMAND} -G${CMAKE_GENERATOR} -DSECOND_RUN=1 ${CMAKE_SOURCE_DIR} && ${make_util}
 	COMMENT ""	
 	)  
 
 ## "Make install" command.
 set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES ${CMAKE_BINARY_DIR}/build)
 add_custom_target(install
-	COMMAND cd ${CMAKE_BINARY_DIR}/build && ${make_util} install
+	COMMAND cd ARGS ${cd_path} && ${make_util} install
 	COMMENT ""
 	)  
 add_dependencies(install preinstall)