From 052f82743e6a018edaeede3b81955b2121fa6312 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 22 Jan 2022 18:55:11 +0100 Subject: Added CXX_FEATURES for remaining libraries to ensure build with at least C++11. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- ksvg/CMakeLists.txt | 1 + ksvg/core/CMakeLists.txt | 1 + ksvg/ecma/CMakeLists.txt | 1 + ksvg/impl/CMakeLists.txt | 1 + 4 files changed, 4 insertions(+) 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 ) -- cgit v1.2.1