r24508 by jghali - Re-enable precompiled headers for scripter plugins as r24502 fixed the build issue

scribus-commit scribus-commit at lists.scribus.net
Thu Feb 18 14:45:08 UTC 2021


Author: jghali
Date: Thu Feb 18 14:45:08 2021
New Revision: 24508

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24508
Log:
Re-enable precompiled headers for scripter plugins as r24502 fixed the build issue

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

Modified: trunk/Scribus/scribus/plugins/scriptplugin/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24508&path=/trunk/Scribus/scribus/plugins/scriptplugin/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/CMakeLists.txt	(original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/CMakeLists.txt	Thu Feb 18 14:45:08 2021
@@ -48,13 +48,14 @@
 
 target_link_libraries(${SCRIBUS_SCRIPTER_PLUGIN}
 	${Python3_LIBRARIES}
+	${SCRIBUS_API_LIB}
 )
 
 target_link_libraries(${SCRIBUS_SCRIPTER_PLUGIN} ${PLUGIN_LIBRARIES})
 
-# if(WANT_PCH)
-	# target_precompile_headers(${SCRIBUS_SCRIPTER_PLUGIN} PRIVATE "../plugins_pch.h")
-# endif()
+if(WANT_PCH)
+	target_precompile_headers(${SCRIBUS_SCRIPTER_PLUGIN} PRIVATE "../plugins_pch.h")
+endif()
 
 install(TARGETS ${SCRIBUS_SCRIPTER_PLUGIN}
 	LIBRARY

Modified: trunk/Scribus/scribus/plugins/scriptplugin_py2x/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24508&path=/trunk/Scribus/scribus/plugins/scriptplugin_py2x/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin_py2x/CMakeLists.txt	(original)
+++ trunk/Scribus/scribus/plugins/scriptplugin_py2x/CMakeLists.txt	Thu Feb 18 14:45:08 2021
@@ -44,18 +44,18 @@
 
 add_library(${SCRIBUS_SCRIPTER_PLUGIN} MODULE 
 	${SCRIPTER_PLUGIN_SOURCES}
-	)
+)
 
 target_link_libraries(${SCRIBUS_SCRIPTER_PLUGIN}
 	${Python2_LIBRARIES}
 	${SCRIBUS_API_LIB}
-	)
+)
 
 target_link_libraries(${SCRIBUS_SCRIPTER_PLUGIN} ${PLUGIN_LIBRARIES})
 
-# if(WANT_PCH)
-	# target_precompile_headers(${SCRIBUS_SCRIPTER_PLUGIN} PRIVATE "../plugins_pch.h")
-# endif()
+if(WANT_PCH)
+	target_precompile_headers(${SCRIBUS_SCRIPTER_PLUGIN} PRIVATE "../plugins_pch.h")
+endif()
 
 install(TARGETS ${SCRIBUS_SCRIPTER_PLUGIN}
 	LIBRARY




More information about the scribus-commit mailing list