diff options
author | Simon Rettberg | 2017-11-13 12:44:09 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-11-13 12:44:09 +0100 |
commit | 69ef5099e6259792946df06fccb17606d8e129fb (patch) | |
tree | 077f99d51214d8d86353e80af06eb3e0af476db6 | |
parent | Implement log/messages display + logo display (diff) | |
download | slxgreeter-69ef5099e6259792946df06fccb17606d8e129fb.tar.gz slxgreeter-69ef5099e6259792946df06fccb17606d8e129fb.tar.xz slxgreeter-69ef5099e6259792946df06fccb17606d8e129fb.zip |
[cmake] Force c++11
-rw-r--r-- | CMakeLists.txt | 3 |
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) |