Build tests with C++11 in not specified otherwise

This commit is contained in:
Paweł Bylica 2018-08-28 11:03:11 +02:00
parent 83d828cfce
commit 8108f04b7a
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
1 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,11 @@
hunter_add_package(GTest)
find_package(GTest CONFIG REQUIRED)
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_EXTENSIONS OFF)
endif()
add_subdirectory(integration)
add_subdirectory(unittests)
add_subdirectory(vmtester)