set the correct framework search path for freepascal on darwin, targetting future cmake releases
--- a/cmake_modules/CMakePascalInformation.cmake Wed Oct 09 01:18:34 2013 +0200
+++ b/cmake_modules/CMakePascalInformation.cmake Thu Oct 10 23:33:22 2013 +0200
@@ -99,6 +99,11 @@
set(CMAKE_INCLUDE_FLAG_SEP_Pascal ${CMAKE_INCLUDE_FLAG_SEP_C})
endif(NOT CMAKE_INCLUDE_FLAG_SEP_Pascal)
+if(NOT CMAKE_Pascal_FRAMEWORK_SEARCH_FLAG)
+ #however -F won't work, -Ff is Pascal equivalent
+ set(CMAKE_Pascal_FRAMEWORK_SEARCH_FLAG "-Ff")
+endif(NOT CMAKE_Pascal_FRAMEWORK_SEARCH_FLAG)
+
# Copy C version of this flag which is normally determined in platform file.
if(NOT CMAKE_SHARED_LIBRARY_SONAME_Pascal_FLAG)
#-soname (linux) / -install-name (dawin)