explicitly set linker library path for pascal when deploying an older version
authorkoda
Sat, 04 Jan 2014 01:51:33 +0100
changeset 9941 d33d4727b39e
parent 9940 fb1023bcd74f
child 9942 0562f28ccb7a
explicitly set linker library path for pascal when deploying an older version
cmake_modules/platform.cmake
--- a/cmake_modules/platform.cmake	Sat Jan 04 01:50:23 2014 +0100
+++ b/cmake_modules/platform.cmake	Sat Jan 04 01:51:33 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