summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2017-11-13 12:44:09 +0100
committerSimon Rettberg2017-11-13 12:44:09 +0100
commit69ef5099e6259792946df06fccb17606d8e129fb (patch)
tree077f99d51214d8d86353e80af06eb3e0af476db6
parentImplement log/messages display + logo display (diff)
downloadslxgreeter-69ef5099e6259792946df06fccb17606d8e129fb.tar.gz
slxgreeter-69ef5099e6259792946df06fccb17606d8e129fb.tar.xz
slxgreeter-69ef5099e6259792946df06fccb17606d8e129fb.zip
[cmake] Force c++11
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a3c2848..e8f7a2e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,6 +20,9 @@ QT5_ADD_RESOURCES(RSCS qt-lightdm-greeter.qrc)
QT5_WRAP_UI(UI_HEADERS ${UIS})
+# Some cmake versions can't understand the CMAKE_CXX_STANDARD option above?
+SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11" )
+
include(FindPkgConfig)
pkg_check_modules(LIGHTDM_QT liblightdm-qt5-3)
if (NOT LIGHTDM_QT_INCLUDE_DIRS)