explicitly set linker library path for pascal when deploying an older version 0.9.20
authorkoda
Sat, 04 Jan 2014 02:18:57 +0100
branch0.9.20
changeset 9913 18b883180dd5
parent 9911 9a8fe10c1ecf
child 9916 e244445d0750
explicitly set linker library path for pascal when deploying an older version
cmake_modules/platform.cmake
--- 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