# HG changeset patch # User koda # Date 1381440802 -7200 # Node ID 9af6176fcd8fee8a231c6c251431f2d012df93b5 # Parent 8cebd1870b2c7f84ea2c178b632142482d975654 set the correct framework search path for freepascal on darwin, targetting future cmake releases diff -r 8cebd1870b2c -r 9af6176fcd8f cmake_modules/CMakePascalInformation.cmake --- 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)