hedgewars/CMakeLists.txt
changeset 5867 a04f25c4209f
parent 5843 8c5168e3194c
child 5876 7d52d7174619
--- a/hedgewars/CMakeLists.txt	Sun Sep 11 14:46:04 2011 -0400
+++ b/hedgewars/CMakeLists.txt	Sun Sep 11 15:51:56 2011 -0400
@@ -183,8 +183,8 @@
 
 
 add_custom_target(${engine_output_name} ALL DEPENDS "${EXECUTABLE_OUTPUT_PATH}/${engine_output_name}${CMAKE_EXECUTABLE_SUFFIX}")
-add_custom_target(CLEAN COMMAND ${CMAKE_BUILD_TOOL} "clean" WORKING_DIRECTORY "${hedgewars_SOURCE_DIR}/hedgewars")
-add_dependencies(${engine_output_name} CLEAN)
+add_custom_target(ENGINECLEAN COMMAND ${CMAKE_BUILD_TOOL} "clean" WORKING_DIRECTORY "${hedgewars_SOURCE_DIR}/hedgewars")
+add_dependencies(${engine_output_name} ENGINECLEAN)
 
 install(PROGRAMS "${EXECUTABLE_OUTPUT_PATH}/${engine_output_name}${CMAKE_EXECUTABLE_SUFFIX}" DESTINATION ${target_dir})