r21774 by craig - Add OpenSSL include dir for the case where PoDoFo 0.9.5 or greater is installed

scribus-commit scribus-commit at lists.scribus.net
Sat Feb 11 21:02:20 UTC 2017


Author: craig
Date: Sat Feb 11 21:02:19 2017
New Revision: 21774

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21774
Log:
Add OpenSSL include dir for the case where PoDoFo 0.9.5 or greater is installed

Modified:
    trunk/Scribus/scribus/CMakeLists.txt

Modified: trunk/Scribus/scribus/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21774&path=/trunk/Scribus/scribus/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/CMakeLists.txt	(original)
+++ trunk/Scribus/scribus/CMakeLists.txt	Sat Feb 11 21:02:19 2017
@@ -1125,9 +1125,18 @@
 endif()
 
 if(HAVE_PODOFO)
+	if(OPENSSL_FOUND)
+		message(STATUS "Including OpenSSL files for PoDoFo >= 0.9.5")
+		include_directories(
+			${OPENSSL_INCLUDE_DIR}
+		)
+    else()
+#		message(STATUS "Not including OpenSSL files because this system's PoDoFo does not require them")
+    endif()
 	include_directories(
-	${LIBPODOFO_INCLUDE_DIR}
-	)
+		${LIBPODOFO_INCLUDE_DIR}
+	)
+
 endif()
 
 if(HAVE_HYPHEN)




More information about the scribus-commit mailing list