summaryrefslogtreecommitdiffstats
path: root/kghostview
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2022-01-22 19:48:12 +0900
committerSlávek Banko <[email protected]>2022-01-22 19:00:03 +0100
commit756f77e49bc6ac6483384644e519e20fb2d433b9 (patch)
treecb190bcaf8ad87164123ccbf40208d40a3ab1761 /kghostview
parent0baef91f719d24223b99ebe18aa071aa5212208f (diff)
downloadtdegraphics-756f77e49bc6ac6483384644e519e20fb2d433b9.tar.gz
tdegraphics-756f77e49bc6ac6483384644e519e20fb2d433b9.zip
Added CXX_FEATURES for libraries to ensure build with at least C++11.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 375229ceea1bf7b7c31fcf1f1c16c699c8e0b475)
Diffstat (limited to 'kghostview')
-rw-r--r--kghostview/CMakeLists.txt1
-rw-r--r--kghostview/dscparse/CMakeLists.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/kghostview/CMakeLists.txt b/kghostview/CMakeLists.txt
index 11e30d20..5176447d 100644
--- a/kghostview/CMakeLists.txt
+++ b/kghostview/CMakeLists.txt
@@ -58,6 +58,7 @@ tde_add_library( kghostviewlib SHARED AUTOMOC
kgvfactory.cpp generalsettingswidget.ui gssettingswidget.ui
thumbnailservice.cpp configuration.kcfgc
LINK dscparse-static tdeprint-shared tdeparts-shared
+ CXX_FEATURES cxx_nullptr
VERSION 0.0.0
DESTINATION ${LIB_INSTALL_DIR}
)
diff --git a/kghostview/dscparse/CMakeLists.txt b/kghostview/dscparse/CMakeLists.txt
index a8136888..4f3c9922 100644
--- a/kghostview/dscparse/CMakeLists.txt
+++ b/kghostview/dscparse/CMakeLists.txt
@@ -25,4 +25,5 @@ include_directories(
tde_add_library( dscparse STATIC_PIC
SOURCES dscparse.cpp dscparse_adapter.cpp
+ CXX_FEATURES cxx_nullptr
)