r19782 by craig - Add SVN version include protection

scribus-commit scribus-commit at lists.scribus.net
Sun Feb 1 15:35:46 UTC 2015


Author: craig
Date: Sun Feb  1 15:35:46 2015
New Revision: 19782

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19782
Log:
Add SVN version include protection

Modified:
    trunk/Scribus/scribus/CMakeLists.txt

Modified: trunk/Scribus/scribus/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19782&path=/trunk/Scribus/scribus/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/CMakeLists.txt Sun Feb  1 15:35:46 2015
@@ -1223,7 +1223,9 @@
 	"-framework CoreFoundation" )
 ENDIF(APPLE)
 
-add_dependencies(${EXE_NAME} svnheader)
+IF (WANT_SVNVERSION)
+	add_dependencies(${EXE_NAME} svnheader)
+ENDIF (WANT_SVNVERSION)
 
 TARGET_LINK_LIBRARIES(${EXE_NAME}
 	${SCRIBUS_COLORMGMT_LIB}




More information about the scribus-commit mailing list