Use cmake features to set C++ version

Change-Id: Icf5dcd781b8fecc7a39117f3c6dee97dcba9dcca
This commit is contained in:
Matt Arsenault
2020-04-17 20:09:26 -04:00
committed by Matthew Arsenault
parent 8ba1527661
commit fc4afbd0f9
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -1,4 +1,7 @@
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)