summaryrefslogtreecommitdiffstats
path: root/ksvg
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-01-22 18:55:11 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-01-22 18:55:11 +0100
commit052f82743e6a018edaeede3b81955b2121fa6312 (patch)
treeb518c006218bc7133eb67304898e02d84c62aa9e /ksvg
parent375229ceea1bf7b7c31fcf1f1c16c699c8e0b475 (diff)
downloadtdegraphics-052f82743e6a018edaeede3b81955b2121fa6312.tar.gz
tdegraphics-052f82743e6a018edaeede3b81955b2121fa6312.zip
Added CXX_FEATURES for remaining libraries to ensure build with at least C++11.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ksvg')
-rw-r--r--ksvg/CMakeLists.txt1
-rw-r--r--ksvg/core/CMakeLists.txt1
-rw-r--r--ksvg/ecma/CMakeLists.txt1
-rw-r--r--ksvg/impl/CMakeLists.txt1
4 files changed, 4 insertions, 0 deletions
diff --git a/ksvg/CMakeLists.txt b/ksvg/CMakeLists.txt
index 534cf56e..e3fd997e 100644
--- a/ksvg/CMakeLists.txt
+++ b/ksvg/CMakeLists.txt
@@ -34,6 +34,7 @@ configure_file( ${TDE_CMAKE_TEMPLATES}/tde_dummy_cpp.cmake dummy.cpp COPYONLY )
tde_add_library( ksvg SHARED
SOURCES dummy.cpp
+ CXX_FEATURES cxx_nullptr
VERSION 0.0.1
EMBED
ksvgdom-static ksvgdomimpl-static ksvgcore-static ksvgecma-static
diff --git a/ksvg/core/CMakeLists.txt b/ksvg/core/CMakeLists.txt
index 3818acaf..db2ac2be 100644
--- a/ksvg/core/CMakeLists.txt
+++ b/ksvg/core/CMakeLists.txt
@@ -48,4 +48,5 @@ tde_add_library( ksvgcore STATIC_PIC AUTOMOC
SOURCES
KSVGLoader.cpp KSVGCanvas.cpp KSVGReader.cpp KSVGTextChunk.cpp
CanvasFactory.cpp CanvasItems.cpp KSVGHelper.cpp DocumentFactory.cpp
+ CXX_FEATURES cxx_nullptr
)
diff --git a/ksvg/ecma/CMakeLists.txt b/ksvg/ecma/CMakeLists.txt
index d70a02c6..8aa5c709 100644
--- a/ksvg/ecma/CMakeLists.txt
+++ b/ksvg/ecma/CMakeLists.txt
@@ -31,4 +31,5 @@ tde_add_library( ksvgecma STATIC_PIC AUTOMOC
SOURCES
ksvg_scriptinterpreter.cpp ksvg_ecma.cpp ksvg_helper.cpp
ksvg_ecmaeventlistener.cpp ksvg_window.cpp
+ CXX_FEATURES cxx_nullptr
)
diff --git a/ksvg/impl/CMakeLists.txt b/ksvg/impl/CMakeLists.txt
index 82980a01..b8bfe01c 100644
--- a/ksvg/impl/CMakeLists.txt
+++ b/ksvg/impl/CMakeLists.txt
@@ -89,5 +89,6 @@ tde_add_library( ksvgdomimpl STATIC_PIC AUTOMOC
SVGFontFaceUriElementImpl.cpp SVGDefinitionSrcElementImpl.cpp
SVGHKernElementImpl.cpp SVGVKernElementImpl.cpp SVGMetadataElementImpl.cpp
SVGForeignObjectElementImpl.cpp svgpathparser.cpp
+ CXX_FEATURES cxx_nullptr
LINK kjs-shared
)