r22172 by craig -

scribus-commit scribus-commit at lists.scribus.net
Sun Oct 1 18:02:43 UTC 2017


Author: craig
Date: Sun Oct  1 18:02:43 2017
New Revision: 22172

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22172
Log:
Add extra High Sierra detection code

Modified:
    trunk/Scribus/CMakeLists.txt

Modified: trunk/Scribus/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22172&path=/trunk/Scribus/CMakeLists.txt
==============================================================================
--- trunk/Scribus/CMakeLists.txt	(original)
+++ trunk/Scribus/CMakeLists.txt	Sun Oct  1 18:02:43 2017
@@ -166,6 +166,10 @@
 ## Do our Apple OSX version setup
 if (APPLE AND CMAKE_SIZEOF_VOID_P EQUAL 8 AND (ARCH_X86 EQUAL 1 OR ARCH_X86_64 EQUAL 1))
 	string(REGEX REPLACE ".*-darwin([0-9]+).*" "\\1" _apple_ver "${MACHINE}")
+	if (_apple_ver EQUAL "17")
+		message(STATUS "Found macOS High Sierra Target: Apple, 64 bit, X86")
+		set(APPLE_10_13_X 1 CACHE TYPE BOOL)
+	endif()
 	if (_apple_ver EQUAL "16")
 	    message(STATUS "Found macOS Sierra Target: Apple, 64 bit, X86")
 		set(APPLE_10_12_X 1 CACHE TYPE BOOL)




More information about the scribus-commit mailing list