hedgewars/CMakeLists.txt
changeset 6028 335eaf56d976
parent 5973 94abd65e7d4f
child 6131 4e8816cf9459
--- a/hedgewars/CMakeLists.txt	Sun Sep 25 20:54:51 2011 +0200
+++ b/hedgewars/CMakeLists.txt	Sun Sep 25 15:40:01 2011 -0400
@@ -183,8 +183,10 @@
 
 
 add_custom_target(${engine_output_name} ALL DEPENDS "${EXECUTABLE_OUTPUT_PATH}/${engine_output_name}${CMAKE_EXECUTABLE_SUFFIX}")
+IF(NOT APPLE)
 add_custom_target(ENGINECLEAN COMMAND ${CMAKE_BUILD_TOOL} "clean" "${PROJECT_BINARY_DIR}" "${hedgewars_SOURCE_DIR}/hedgewars")
 add_dependencies(${engine_output_name} ENGINECLEAN)
+ENDIF()
 
 install(PROGRAMS "${EXECUTABLE_OUTPUT_PATH}/${engine_output_name}${CMAKE_EXECUTABLE_SUFFIX}" DESTINATION ${target_dir})