r23280 by jghali - Fix scripter compilation on *nix

scribus-commit scribus-commit at lists.scribus.net
Sun Oct 27 14:24:11 UTC 2019


Author: jghali
Date: Sun Oct 27 14:24:11 2019
New Revision: 23280

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23280
Log:
Fix scripter compilation on *nix

Modified:
    trunk/Scribus/scribus/CMakeLists.txt
    trunk/Scribus/scribus/plugins/scriptplugin/CMakeLists.txt

Modified: trunk/Scribus/scribus/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23280&path=/trunk/Scribus/scribus/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/CMakeLists.txt	(original)
+++ trunk/Scribus/scribus/CMakeLists.txt	Sun Oct 27 14:24:11 2019
@@ -1286,7 +1286,6 @@
 	${ICU_LIBRARIES}
 	${FONTCONFIG_LIBRARIES}
 	${LIBXML2_LIBRARIES}
-	${PYTHON_LIBRARIES}
 	${TIFF_LIBRARIES}
 	${JPEG_LIBRARIES}
 	${ZLIB_LIBRARIES}

Modified: trunk/Scribus/scribus/plugins/scriptplugin/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23280&path=/trunk/Scribus/scribus/plugins/scriptplugin/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/CMakeLists.txt	(original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/CMakeLists.txt	Sun Oct 27 14:24:11 2019
@@ -1,7 +1,7 @@
 include_directories(
 	${CMAKE_SOURCE_DIR}
 	${CMAKE_SOURCE_DIR}/scribus
-	${Python2_INCLUDE_DIRS}
+	${Python3_INCLUDE_DIRS}
 )
 
 # Gentoo has an option for no examples. Let's make the ebuild simpler and open up the option to others, but leave as a default for us
@@ -65,7 +65,7 @@
 )
 
 target_link_libraries(${SCRIBUS_SCRIPTER_PLUGIN}
-	${Python2_LIBRARIES}
+	${Python3_LIBRARIES}
 )
 
 target_link_libraries(${SCRIBUS_SCRIPTER_PLUGIN} ${PLUGIN_LIBRARIES})




More information about the scribus-commit mailing list