Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions googletest/CMakeLists.txt.install
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
project(gtest CXX C)
cmake_minimum_required(VERSION 3.8)
cmake_minimum_required(VERSION 3.15)

include_directories(
include
. # to find the source files included with "src/gtest*.cc"
)

add_library(gtest STATIC src/gtest-all.cc)
target_compile_features(gtest PUBLIC cxx_std_11) # Require C++11
target_compile_features(gtest PUBLIC cxx_std_14) # Require C++14

# When building with asan (i.e. using colcon build --mixin asan-gcc),
# asan itself provides a "fake" pthread that tricks the pthread
Expand All @@ -25,4 +25,4 @@ if(NOT WIN32)
endif()

add_library(gtest_main STATIC src/gtest_main.cc)
target_compile_features(gtest_main PUBLIC cxx_std_11) # Require C++11
target_compile_features(gtest_main PUBLIC cxx_std_14) # Require C++14
Loading