diff options
author | Black Hat <bhat@encom.eu.org> | 2019-09-27 00:26:57 -0700 |
---|---|---|
committer | Black Hat <bhat@encom.eu.org> | 2019-09-27 00:26:57 -0700 |
commit | 0442e2694e9e2f0f9d67026ff8ad2247f4ff50e5 (patch) | |
tree | 4c674f953ef74c117b75623e1ff8044dec187944 | |
parent | 3995077cf3be380d4f06aeb6e5b753f39ff6cd15 (diff) | |
download | libquotient-0442e2694e9e2f0f9d67026ff8ad2247f4ff50e5.tar.gz libquotient-0442e2694e9e2f0f9d67026ff8ad2247f4ff50e5.zip |
Force C++17
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 951ef8c9..72bb7124 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,5 @@ cmake_minimum_required(VERSION 3.10) +set(CMAKE_CXX_STANDARD 17) if (POLICY CMP0092) cmake_policy(SET CMP0092 NEW) endif() @@ -225,7 +226,6 @@ set_target_properties(${PROJECT_NAME} PROPERTIES VERSION "${PROJECT_VERSION}" SOVERSION ${API_VERSION} INTERFACE_${PROJECT_NAME}_MAJOR_VERSION ${API_VERSION} - CXX_STANDARD 17 ) set_property(TARGET ${PROJECT_NAME} APPEND PROPERTY COMPATIBLE_INTERFACE_STRING ${PROJECT_NAME}_MAJOR_VERSION) |