cmake_modules/CMakePascalInformation.cmake
branchcmake_pascal
changeset 8863 9774ad4fe170
parent 8859 bead90828a94
child 9227 c02e081ba481
--- a/cmake_modules/CMakePascalInformation.cmake	Tue Mar 26 18:03:15 2013 +0100
+++ b/cmake_modules/CMakePascalInformation.cmake	Tue Apr 30 01:43:00 2013 +0200
@@ -168,10 +168,6 @@
         if(APPLE)
             #add user framework directory
             set(CMAKE_Pascal_UNIX_FLAGS "-Ff~/Library/Frameworks ${CMAKE_Pascal_UNIX_FLAGS}")
-            #when sysroot is set, make sure that fpc picks it
-            if(CMAKE_OSX_SYSROOT)
-                set(CMAKE_Pascal_UNIX_FLAGS "-XD${CMAKE_OSX_SYSROOT} ${CMAKE_Pascal_UNIX_FLAGS}")
-            endif(CMAKE_OSX_SYSROOT)
         endif(APPLE)
     endif(UNIX)