--- a/hedgewars/CMakeLists.txt Wed Nov 18 14:50:14 2009 +0000
+++ b/hedgewars/CMakeLists.txt Fri Nov 20 14:56:43 2009 +0000
@@ -108,16 +108,14 @@
include_directories(${SDL_INCLUDE_DIR})
link_libraries(${SDL_LIBRARY})
- if(universal_build)
- #apparently this variable is not exported here
- set(CMAKE_OSX_ARCHITECTURES "i386;ppc7400")
- endif()
+ #apparently this variable is not exported here
+ set(CMAKE_OSX_ARCHITECTURES "i386;ppc7400")
add_library (SDLmain STATIC SDLMain.m)
set(engine_sources SDLmain ${engine_sources})
ENDIF(APPLE)
-IF(build_type MATCHES "standard")
+IF(NOT APPLE)
#here is the standard command for any system
add_custom_command(OUTPUT "${EXECUTABLE_OUTPUT_PATH}/hwengine${CMAKE_EXECUTABLE_SUFFIX}"
COMMAND "${pascal_compiler}"