r22060 by jghali - #14838: explain why cmake requires openssl

scribus-commit scribus-commit at lists.scribus.net
Sat Jun 10 13:18:55 UTC 2017


Author: jghali
Date: Sat Jun 10 13:18:54 2017
New Revision: 22060

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22060
Log:
#14838: explain why cmake requires openssl

Modified:
    trunk/Scribus/cmake/modules/FindLIBPODOFO.cmake

Modified: trunk/Scribus/cmake/modules/FindLIBPODOFO.cmake
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22060&path=/trunk/Scribus/cmake/modules/FindLIBPODOFO.cmake
==============================================================================
--- trunk/Scribus/cmake/modules/FindLIBPODOFO.cmake	(original)
+++ trunk/Scribus/cmake/modules/FindLIBPODOFO.cmake	Sat Jun 10 13:18:54 2017
@@ -45,6 +45,8 @@
 	#message(STATUS "PODOFO PATCH VERSION ${PODOFO_PATCH_VER}")
 	set(LIBPODOFO_VERSION "${PODOFO_MAJOR_VER}.${PODOFO_MINOR_VER}.${PODOFO_PATCH_VER}" CACHE STRING "PoDoFo version string")
 	if(LIBPODOFO_VERSION VERSION_GREATER "0.9.4")
+		# podofo 0.9.5 use OpenSSL includes in its public headers, we need to know OpenSSL include dirs
+		# (https://bugs.scribus.net/view.php?id=14838)
 		find_package(OpenSSL)
 		if (OPENSSL_FOUND)
 			message("OpenSSL found OK for installed version of PoDoFo (>= 0.9.5) - Enabling support for PDF embedded in AI")




More information about the scribus-commit mailing list