summaryrefslogtreecommitdiffstats
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
parent590a6509163fa784bb6ad9cb43e2978163ea6d76 (diff)
downloadpolkit-tqt-d47d7882.tar.gz
polkit-tqt-d47d7882.zip
Add CXX_FEATURES for libraries to ensure build with at least C++11.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--agent/CMakeLists.txt2
-rw-r--r--core/CMakeLists.txt2
-rw-r--r--gui/CMakeLists.txt2
3 files changed, 3 insertions, 3 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}
)
-
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}
)
-
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}
)
-