summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2022-01-03 02:28:59 +0100
committerSlávek Banko <[email protected]>2022-01-04 03:55:20 +0100
commitd47d7882d71e4a02a14a741d9eed4c62b034c89f (patch)
treeec85661c886b26a3f5e256ee788bf4e10c226a0b /core
parent590a6509163fa784bb6ad9cb43e2978163ea6d76 (diff)
downloadpolkit-tqt-d47d7882d71e4a02a14a741d9eed4c62b034c89f.tar.gz
polkit-tqt-d47d7882d71e4a02a14a741d9eed4c62b034c89f.zip
Add CXX_FEATURES for libraries to ensure build with at least C++11.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'core')
-rw-r--r--core/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt
index e0aa29709..0d0e22859 100644
--- a/core/CMakeLists.txt
+++ b/core/CMakeLists.txt
@@ -47,7 +47,7 @@ tde_add_library( polkit-tqt-core SHARED AUTOMOC
polkit-tqt-subject.cpp
polkit-tqt-temporaryauthorization.cpp
VERSION 0.0.0
+ CXX_FEATURES cxx_nullptr
LINK ${TQT_LIBRARIES} ${POLKIT_GOBJECT_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
)
-