Created
October 8, 2015 00:24
-
-
Save su-v/79199ba0ac5df2e2ac7c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== modified file 'CMakeLists.txt' | |
--- CMakeLists.txt 2015-08-16 00:13:02 +0000 | |
+++ CMakeLists.txt 2015-08-16 00:20:38 +0000 | |
@@ -76,6 +76,8 @@ | |
option(WITH_DBUS "Compile with support for DBus interface" OFF) | |
option(ENABLE_LCMS "Compile with LCMS support" ON) | |
option(WITH_GNOME_VFS "Compile with support for Gnome VFS" ON) | |
+option(WITH_SVG2 "Compile with support for new SVG2 features" ON) | |
+option(WITH_LPETOOL "Compile with LPE Tool and experimental LPEs enabled" ON) | |
#option(WITH_INKJAR "Enable support for openoffice files (SVG jars)" ON) | |
option(WITH_GTEST "Compile with Google Test support" ${GMOCK_PRESENT}) | |
option(WITH_OPENMP "Compile with OpenMP support" ON) | |
=== modified file 'CMakeScripts/DefineDependsandFlags.cmake' | |
--- CMakeScripts/DefineDependsandFlags.cmake 2015-08-16 00:13:02 +0000 | |
+++ CMakeScripts/DefineDependsandFlags.cmake 2015-08-16 00:20:38 +0000 | |
@@ -209,6 +209,20 @@ | |
endif() | |
endif() | |
+if(WITH_SVG2) | |
+ add_definitions(-DWITH_MESH -DWITH_CSSBLEND -DWITH_CSSCOMPOSITE -DWITH_SVG2) | |
+else() | |
+ #remove_definitions(-DWITH_MESH -DWITH_CSSBLEND -DWITH_CSSCOMPOSITE -DWITH_SVG2) | |
+ add_definitions(-UWITH_MESH -UWITH_CSSBLEND -UWITH_CSSCOMPOSITE -UWITH_SVG2) | |
+endif() | |
+ | |
+if(WITH_LPETOOL) | |
+ add_definitions(-DWITH_LPETOOL -DLPE_ENABLE_TEST_EFFECTS) | |
+else() | |
+ #remove_definitions(-DWITH_LPETOOL -DLPE_ENABLE_TEST_EFFECTS) | |
+ add_definitions(-UWITH_LPETOOL -ULPE_ENABLE_TEST_EFFECTS) | |
+endif() | |
+ | |
if(WITH_GTEST) | |
if(EXISTS "${GMOCK_DIR}" AND IS_DIRECTORY "${GMOCK_DIR}") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment