We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4a31e0 commit bc281ecCopy full SHA for bc281ec
1 file changed
test/CMakeLists.txt
@@ -205,6 +205,10 @@ if(WITH_GTEST)
205
target_compile_options(gtest_zlib PRIVATE /wd4389 /EHsc)
206
endif()
207
208
+ if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
209
+ target_compile_options(gtest_zlib PRIVATE -D_XOPEN_SOURCE=700)
210
+ endif()
211
+
212
if(WITH_SANITIZER STREQUAL "Memory")
213
target_link_directories(gtest_zlib PRIVATE $ENV{LLVM_BUILD_DIR}/lib)
214
target_link_options(gtest_zlib PRIVATE
0 commit comments