# HG changeset patch # User koda # Date 1306706308 -7200 # Node ID 5730238e7ee6f613f6407bcf2af5aae9e5e2a986 # Parent 0922b9d816aff11e84351aacf4d5eb29796d0ef4 allow fpc to search through the user directory when linking frameworks diff -r 0922b9d816af -r 5730238e7ee6 CMakeLists.txt --- a/CMakeLists.txt Sun May 29 23:21:59 2011 +0200 +++ b/CMakeLists.txt Sun May 29 23:58:28 2011 +0200 @@ -108,6 +108,8 @@ set(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX${sdk_version}.sdk/") endif() + #add user framework directory + set(pascal_compiler_flags_cmn "-Ff~/Library/Frameworks" ${pascal_compiler_flags_cmn}) #set deployment target set(pascal_compiler_flags_cmn "-k-macosx_version_min" "-k${minimum_macosx_version}" "-XR${CMAKE_OSX_SYSROOT}" ${pascal_compiler_flags_cmn}) #link with liblua.a (which requires readline)