Skip to content

Commit

Permalink
Merge pull request #651 from orgads/gtest-up
Browse files Browse the repository at this point in the history
Update gtest to 1.14.0 and bump C++ standard to C++14
  • Loading branch information
lemenkov authored Jan 11, 2024
2 parents 1263dfb + 6c48e71 commit 5f3e593
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 5f3e593

Please sign in to comment.