Add CXX_STANDARD_REQUIRED to CMake quickstart
This commit is contained in:
@@ -54,6 +54,7 @@ project(my_project)
|
||||
|
||||
# GoogleTest requires at least C++14
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
include(FetchContent)
|
||||
FetchContent_Declare(
|
||||
|
||||
Reference in New Issue
Block a user