r23029 by jghali - Cache WANT_RELOCATABLE value

scribus-commit scribus-commit at lists.scribus.net
Mon Jun 17 17:33:34 UTC 2019


Author: jghali
Date: Mon Jun 17 17:33:34 2019
New Revision: 23029

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23029
Log:
Cache WANT_RELOCATABLE value

Modified:
    trunk/Scribus/CMakeLists.txt

Modified: trunk/Scribus/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23029&path=/trunk/Scribus/CMakeLists.txt
==============================================================================
--- trunk/Scribus/CMakeLists.txt	(original)
+++ trunk/Scribus/CMakeLists.txt	Mon Jun 17 17:33:34 2019
@@ -10,7 +10,7 @@
 
 # Configure CCache if available and wanted
 if (WANT_CCACHE)
-    find_program(CCACHE_FOUND ccache)
+	find_program(CCACHE_FOUND ccache)
 	if(CCACHE_FOUND)
 		message(STATUS "Enabling ccache")
 		set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
@@ -225,12 +225,13 @@
 if (APPLEBUNDLE OR WIN32)
 	if (WANT_RELOCATABLE)
 		message(STATUS "Ignoring relocatable option on Win32 or OSX when building bundle")
-		set(WANT_RELOCATABLE 0)
+		set(WANT_RELOCATABLE OFF)
 	endif()
 endif()
 
 if (WANT_RELOCATABLE)
-    message(STATUS "Enabling relocatable binaries")
+	message(STATUS "Enabling relocatable binaries")
+	set(WANT_RELOCATABLE ON CACHE BOOL "Enable relocatable binaries")
 	add_definitions(-DWANT_RELOCATABLE)
 endif()
 




More information about the scribus-commit mailing list