Merge pull request #1323 from majestrate/freebsd-fix-unit-tests-2020-07-31

disable thread safety anonations for freebsd + gtest
pull/1324/head
Jason Rhinelander 4 years ago committed by GitHub
commit 6f3d881a0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -199,11 +199,6 @@ if (NOT MSVC_VERSION)
add_compile_options(-Wno-unused-function -Wno-deprecated-declarations -Wno-unknown-pragmas)
endif()
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
# STREQUAL because AppleClang's libc++ doesn't yet support thread safety annotations
add_compile_options(-Wthread-safety)
endif()
include(cmake/coverage.cmake)
# these vars are set by the cmake toolchain spec

Loading…
Cancel
Save