Fix compiling engine with OSX frameworks
authorkoda
Tue, 03 Nov 2015 00:51:11 +0100
changeset 11275 d49a1a295d81
parent 11274 5a522dff2d45
child 11276 a292efd31bde
Fix compiling engine with OSX frameworks
hedgewars/CMakeLists.txt
--- a/hedgewars/CMakeLists.txt	Tue Nov 03 00:13:44 2015 +0100
+++ b/hedgewars/CMakeLists.txt	Tue Nov 03 00:51:11 2015 +0100
@@ -137,7 +137,7 @@
     if(${sdl_framework} GREATER -1)
         add_flag_append(CMAKE_Pascal_FLAGS "-k-lsdl -k-lsdl_image -k-lsdl_mixer -k-lsdl_ttf -k-lsdl_net")
     else()
-        add_flag_append(CMAKE_Pascal_FLAGS "-k-framework -kSDL -k-framework -kSDL_image -k-framework -k SDL_mixer -k-framework -k SDL_net -k-framework -kSDL_net")
+        add_flag_append(CMAKE_Pascal_FLAGS "-k-framework -kSDL -k-framework -kSDL_image -k-framework -kSDL_mixer -k-framework -kSDL_net -k-framework -kSDL_net -k-framework -kSDL_ttf")
     endif()
 endif()