r19241 by craig - Add more OSX SDK default locations

scribus-commit scribus-commit at lists.scribus.net
Sun Jun 15 21:25:54 UTC 2014


Author: craig
Date: Sun Jun 15 21:25:54 2014
New Revision: 19241

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19241
Log:
Add more OSX SDK default locations

Modified:
    trunk/Scribus/CMakeLists.txt

Modified: trunk/Scribus/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19241&path=/trunk/Scribus/CMakeLists.txt
==============================================================================
--- trunk/Scribus/CMakeLists.txt (original)
+++ trunk/Scribus/CMakeLists.txt Sun Jun 15 21:25:54 2014
@@ -374,15 +374,19 @@
 	ENDIF(APPLE_10_8_X)
 	IF(APPLE_10_7_X)
 		SET(OSXMINVER "10.7" CACHE TYPE STRING)
+		SET(CMAKE_OSX_SYSROOT "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk")
 	ENDIF(APPLE_10_7_X)
 	IF(APPLE_10_6_X)
 		SET(OSXMINVER "10.6" CACHE TYPE STRING)
+		SET(CMAKE_OSX_SYSROOT "/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk")
 	ENDIF(APPLE_10_6_X)
 	IF(APPLE_10_5_X)
 		SET(OSXMINVER "10.5" CACHE TYPE STRING)
+		SET(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.5.sdk")
 	ENDIF(APPLE_10_5_X)
 	IF(APPLE_10_4_X)
 		SET(OSXMINVER "10.4" CACHE TYPE STRING)
+		SET(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.4u.sdk")
 	ENDIF(APPLE_10_4_X)
 	# gcc/mac
 	IF(WANT_UNIVERSAL_BUNDLE)




More information about the scribus-commit mailing list