diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-06-28 10:38:07 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-06-28 09:05:28 +0000 |
commit | 826fe14dcbcf703e38a4b51b9f3ac3fcf948c53f (patch) | |
tree | 67df25fccbfcedfe161bb5447dc676dc2e0ef058 /sources/shiboken2/CMakeLists.txt | |
parent | 547a61a433e2e035d8386c6534c1f86381e57cc7 (diff) |
Shiboken: Set C++ 11 globally
Change-Id: I17634ebc245cae87819af16d79704326905e5783
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'sources/shiboken2/CMakeLists.txt')
-rw-r--r-- | sources/shiboken2/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/shiboken2/CMakeLists.txt b/sources/shiboken2/CMakeLists.txt index ddba62df8..bb90283c5 100644 --- a/sources/shiboken2/CMakeLists.txt +++ b/sources/shiboken2/CMakeLists.txt @@ -197,6 +197,7 @@ else() endif() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D QT_NO_CAST_FROM_ASCII -D QT_NO_CAST_TO_ASCII") +set(CMAKE_CXX_STANDARD 11) set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" ) set(LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE PATH "The subdirectory relative to the install prefix where libraries will be installed (default is /lib${LIB_SUFFIX})" FORCE) |