neverbleed/cmake: Define _GNU_SOURCE

This commit is contained in:
Tatsuhiro Tsujikawa
2024-10-14 18:09:34 +09:00
parent ea87bfff51
commit 0600ed82cc

View File

@@ -29,6 +29,7 @@ if(ENABLE_THIRD_PARTY)
"${CMAKE_SOURCE_DIR}/third-party/neverbleed" "${CMAKE_SOURCE_DIR}/third-party/neverbleed"
) )
target_link_libraries(neverbleed ${OPENSSL_LIBRARIES}) target_link_libraries(neverbleed ${OPENSSL_LIBRARIES})
target_compile_definitions(neverbleed PUBLIC _GNU_SOURCE)
endif() endif()
if(HAVE_MRUBY) if(HAVE_MRUBY)