Default to C++11
Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
This commit is contained in:
parent
dce7336bbe
commit
5348a9ab7a
1 changed files with 5 additions and 0 deletions
|
@ -17,6 +17,11 @@ option(LIBCREATE_BUILD_TESTS "Enable the build of tests." ON)
|
|||
find_package(Boost REQUIRED COMPONENTS system thread)
|
||||
find_package(Threads REQUIRED)
|
||||
|
||||
# Default to C++11
|
||||
if(NOT CMAKE_CXX_STANDARD)
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
endif()
|
||||
|
||||
#########
|
||||
# Build #
|
||||
#########
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue