summaryrefslogtreecommitdiffstats
path: root/ksvg
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2022-01-22 18:55:11 +0100
committerSlávek Banko <[email protected]>2022-01-22 19:00:04 +0100
commit7de3dd4815ee29c0c0db978fd46d7e89b62dcc13 (patch)
tree41e42f5f4c961eeb0bd9abda024bd2acc55b1a2a /ksvg
parent756f77e49bc6ac6483384644e519e20fb2d433b9 (diff)
downloadtdegraphics-7de3dd4815ee29c0c0db978fd46d7e89b62dcc13.tar.gz
tdegraphics-7de3dd4815ee29c0c0db978fd46d7e89b62dcc13.zip
Added CXX_FEATURES for remaining libraries to ensure build with at least C++11.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 052f82743e6a018edaeede3b81955b2121fa6312)
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
)