hedgewars/CMakeLists.txt
changeset 8082 675372256a01
parent 8080 a6fc5396b3d6
child 8087 ccc99eebdac2
--- a/hedgewars/CMakeLists.txt	Tue Nov 20 22:08:08 2012 +0100
+++ b/hedgewars/CMakeLists.txt	Wed Nov 21 01:48:10 2012 +0100
@@ -95,8 +95,8 @@
         set(pascal_flags "-k-no_order_inits" ${pascal_flags})
     endif()
 
-    if (APPLE)
-        set(engine_output_name "hwengine.dylib")
+    if(APPLE)
+        set(engine_output_name "libhwengine.dylib")
     endif (APPLE)
 endif(BUILD_ENGINE_LIBRARY)
 
@@ -151,8 +151,9 @@
             set(SDLMAIN_LIB "${LIBRARY_OUTPUT_PATH}/libSDLmain.a")
         endif()
 
-        set(pascal_flags "-k${SDLMAIN_LIB}" "-k${LIBRARY_OUTPUT_PATH}/libphysfs.a" ${pascal_flags})
+        set(pascal_flags "-k${SDLMAIN_LIB}" ${pascal_flags})
     endif()
+    set(pascal_flags "-k${LIBRARY_OUTPUT_PATH}/libphysfs.a" ${pascal_flags})
 endif(APPLE)