r24277 by jghali - Disable use of precompiled header for scripter as gcc seems to choke on Python headers use of Qt's slots keyword

scribus-commit scribus-commit at lists.scribus.net
Sun Nov 22 23:23:21 UTC 2020


Author: jghali
Date: Sun Nov 22 23:23:21 2020
New Revision: 24277

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24277
Log:
Disable use of precompiled header for scripter as gcc seems to choke on Python headers use of Qt's slots keyword

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=24277&path=/trunk/Scribus/scribus/plugins/scriptplugin/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/CMakeLists.txt	(original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/CMakeLists.txt	Sun Nov 22 23:23:21 2020
@@ -70,9 +70,9 @@
 
 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=24277&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	Sun Nov 22 23:23:21 2020
@@ -71,9 +71,9 @@
 
 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
@@ -81,7 +81,6 @@
 	PERMISSIONS ${PLUGIN_PERMISSIONS}
 )
 
-#add_dependencies(${SCRIBUS_SCRIPTER_PLUGIN} ${EXE_NAME})
 add_dependencies(${SCRIBUS_SCRIPTER_PLUGIN} ${EXE_NAME})
 
 # set_target_properties(${SCRIBUS_SCRIPTER_PLUGIN} PROPERTIES VERSION "0.0.0")




More information about the scribus-commit mailing list