mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
NetBSD support
This commit is contained in:
parent
91c7d68b2d
commit
bcda7adcd4
7 changed files with 34 additions and 10 deletions
3
external/db_drivers/CMakeLists.txt
vendored
3
external/db_drivers/CMakeLists.txt
vendored
|
@ -32,3 +32,6 @@ message(STATUS "Using ${ARCH_WIDTH}-bit LMDB from source tree")
|
|||
add_subdirectory(liblmdb)
|
||||
set(LMDB_INCLUDE "${CMAKE_CURRENT_SOURCE_DIR}/liblmdb" CACHE STRING "LMDB Include path")
|
||||
set(LMDB_LIBRARY "lmdb" CACHE STRING "LMDB Library name")
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "NetBSD")
|
||||
set_property(TARGET lmdb APPEND_STRING PROPERTY COMPILE_FLAGS " -D_SEM_SEMUN_UNDEFINED")
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue