mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #5777
757b789
Define _WANT_SEMUN for FreeBSD to ensure union semun is defined (odonnellnoel)
This commit is contained in:
commit
415005aceb
2
external/db_drivers/CMakeLists.txt
vendored
2
external/db_drivers/CMakeLists.txt
vendored
@ -34,4 +34,6 @@ set(LMDB_INCLUDE "${CMAKE_CURRENT_SOURCE_DIR}/liblmdb" CACHE STRING "LMDB Includ
|
|||||||
set(LMDB_LIBRARY "lmdb" CACHE STRING "LMDB Library name")
|
set(LMDB_LIBRARY "lmdb" CACHE STRING "LMDB Library name")
|
||||||
if(CMAKE_SYSTEM_NAME MATCHES "NetBSD")
|
if(CMAKE_SYSTEM_NAME MATCHES "NetBSD")
|
||||||
set_property(TARGET lmdb APPEND_STRING PROPERTY COMPILE_FLAGS " -D_SEM_SEMUN_UNDEFINED")
|
set_property(TARGET lmdb APPEND_STRING PROPERTY COMPILE_FLAGS " -D_SEM_SEMUN_UNDEFINED")
|
||||||
|
elseif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
|
||||||
|
set_property(TARGET lmdb APPEND_STRING PROPERTY COMPILE_FLAGS " -D_WANT_SEMUN")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user