cmake_modules/platform.cmake
branchsdl2transition
changeset 9705 322fe1736347
parent 9673 5be4de0eb4b0
child 9707 c433e74da79b
--- a/cmake_modules/platform.cmake	Fri Dec 06 00:02:10 2013 +0100
+++ b/cmake_modules/platform.cmake	Fri Dec 06 00:28:55 2013 +0100
@@ -97,6 +97,9 @@
 
     #add user framework directory
     add_flag_append(CMAKE_Pascal_FLAGS "-Ff~/Library/Frameworks")
+
+    #workaround most of the -Fl settings getting lost
+    add_flag_append(CMAKE_Pascal_FLAGS "-k-L${LIBRARY_OUTPUT_PATH}")
 endif(APPLE)
 
 if(MINGW)