mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-06 18:18:52 +08:00
neverbleed/cmake: Define _GNU_SOURCE
This commit is contained in:
1
third-party/CMakeLists.txt
vendored
1
third-party/CMakeLists.txt
vendored
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user