summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-01-03 02:28:59 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-01-04 03:55:20 +0100
commitd47d7882d71e4a02a14a741d9eed4c62b034c89f (patch)
treeec85661c886b26a3f5e256ee788bf4e10c226a0b /gui
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 <slavek.banko@axis.cz>
Diffstat (limited to 'gui')
-rw-r--r--gui/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt
index 2746b37d9..0627613a7 100644
--- a/gui/CMakeLists.txt
+++ b/gui/CMakeLists.txt
@@ -42,7 +42,7 @@ tde_add_library( polkit-tqt-gui SHARED AUTOMOC
polkit-tqt-gui-actionbutton.cpp
polkit-tqt-gui-actionbuttons.cpp
VERSION 0.0.0
+ CXX_FEATURES cxx_nullptr
LINK ${TQT_LIBRARIES} ${POLKIT_GOBJECT_LIBRARIES} polkit-tqt-core-shared
DESTINATION ${LIB_INSTALL_DIR}
)
-