mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-31 10:58:20 +08:00
mdbx-cmake: avoid has no symbols
warning from Apple's ranlib.
This commit is contained in:
parent
69b495d559
commit
fc53e57a64
@ -569,7 +569,10 @@ else()
|
|||||||
"${MDBX_SOURCE_DIR}/options.h" "${MDBX_SOURCE_DIR}/base.h"
|
"${MDBX_SOURCE_DIR}/options.h" "${MDBX_SOURCE_DIR}/base.h"
|
||||||
"${MDBX_SOURCE_DIR}/internals.h" "${MDBX_SOURCE_DIR}/osal.h"
|
"${MDBX_SOURCE_DIR}/internals.h" "${MDBX_SOURCE_DIR}/osal.h"
|
||||||
"${MDBX_SOURCE_DIR}/core.c" "${MDBX_SOURCE_DIR}/osal.c"
|
"${MDBX_SOURCE_DIR}/core.c" "${MDBX_SOURCE_DIR}/osal.c"
|
||||||
"${MDBX_SOURCE_DIR}/lck-posix.c" "${MDBX_SOURCE_DIR}/lck-windows.c")
|
"${MDBX_SOURCE_DIR}/lck-posix.c")
|
||||||
|
if(NOT APPLE)
|
||||||
|
list(APPEND LIBMDBX_SOURCES "${MDBX_SOURCE_DIR}/lck-windows.c")
|
||||||
|
endif()
|
||||||
include_directories("${MDBX_SOURCE_DIR}")
|
include_directories("${MDBX_SOURCE_DIR}")
|
||||||
endif()
|
endif()
|
||||||
endif(MDBX_AMALGAMATED_SOURCE)
|
endif(MDBX_AMALGAMATED_SOURCE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user