Skip to content

Commit

Permalink
Update gtest to 1.14.0 and bump C++ standard to C++14
Browse files Browse the repository at this point in the history
  • Loading branch information
orgads committed Aug 23, 2023
1 parent 1126a8b commit 6c48e71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ cmake_minimum_required(VERSION 3.4)
project(SIPp)

# specify the C++ standard
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_EXTENSIONS False)
# specify the C++ standard on older CMake (<3.8)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -pedantic -Wno-error=format-truncation -Wno-error=deprecated-declarations")

# Include binary dir first, where we add generated config.h and
Expand Down
2 changes: 1 addition & 1 deletion gtest
Submodule gtest updated 156 files

0 comments on commit 6c48e71

Please sign in to comment.