summaryrefslogtreecommitdiffstats
path: root/agent
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 /agent
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 'agent')
-rw-r--r--agent/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/CMakeLists.txt b/agent/CMakeLists.txt
index a47cd0431..6ac30d2c0 100644
--- a/agent/CMakeLists.txt
+++ b/agent/CMakeLists.txt
@@ -45,7 +45,7 @@ tde_add_library( polkit-tqt-agent SHARED AUTOMOC
listeneradapter.cpp
polkit-tqt-listener.cpp
VERSION 0.0.0
+ CXX_FEATURES cxx_nullptr
LINK ${TQT_LIBRARIES} ${POLKIT_GOBJECT_LIBRARIES} ${POLKIT_AGENT_LIBRARIES} polkit-tqt-core-shared
DESTINATION ${LIB_INSTALL_DIR}
)
-