aboutsummaryrefslogtreecommitdiff
path: root/tests/gtest/cmake/internal_utils.cmake
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2021-04-26 01:27:02 +0200
committerselsta <selsta@sent.at>2021-11-29 15:08:48 +0100
commit6b881af1ac3311059a1941f77252491ff3f5ff61 (patch)
tree7c26b36d21e4c42c96461e00871b57a239cd6b80 /tests/gtest/cmake/internal_utils.cmake
parentMerge pull request #8085 (diff)
downloadmonero-6b881af1ac3311059a1941f77252491ff3f5ff61.tar.xz
cmake: set 3.5 as minimum version
Diffstat (limited to 'tests/gtest/cmake/internal_utils.cmake')
-rw-r--r--tests/gtest/cmake/internal_utils.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gtest/cmake/internal_utils.cmake b/tests/gtest/cmake/internal_utils.cmake
index ae45d7d7a..b33197989 100644
--- a/tests/gtest/cmake/internal_utils.cmake
+++ b/tests/gtest/cmake/internal_utils.cmake
@@ -96,7 +96,7 @@ macro(config_compiler_and_linker)
set(cxx_no_rtti_flags "-fno-rtti -DGTEST_HAS_RTTI=0")
set(cxx_strict_flags
"-Wextra -Wno-unused-parameter -Wno-missing-field-initializers")
- elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
+ elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set(cxx_base_flags "-Wall -Wshadow -fPIC")
set(cxx_exception_flags "-fexceptions")
set(cxx_no_exception_flags "-fno-exceptions")