cmake_modules/platform.cmake
branch0.9.20
changeset 9913 18b883180dd5
parent 9911 9a8fe10c1ecf
child 11342 ed5a6478e710
--- a/cmake_modules/platform.cmake	Sat Jan 04 02:18:57 2014 +0100
+++ b/cmake_modules/platform.cmake	Sat Jan 04 02:18:57 2014 +0100
@@ -91,6 +91,7 @@
     if(CMAKE_OSX_SYSROOT)
         add_flag_append(CMAKE_Pascal_FLAGS "-XR${CMAKE_OSX_SYSROOT}")
         add_flag_append(CMAKE_Pascal_FLAGS "-k-macosx_version_min -k${minimum_macosx_version}")
+        add_flag_append(CMAKE_Pascal_FLAGS "-k-L${LIBRARY_OUTPUT_PATH} -Fl${LIBRARY_OUTPUT_PATH}")
     endif()
 
     #add user framework directory