mirror of
https://github.com/isar/libmdbx.git
synced 2025-08-29 11:02:20 +08:00
mdbx-build: refine CMake scripts, add build options.
Change-Id: Ie3db2f6439d5cc7ef3cd9ebb5b8e5d5d34f743dd
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
set(MDBX_TOOLS
|
||||
set(MDBX_TOOLS
|
||||
mdbx_chk
|
||||
mdbx_copy
|
||||
mdbx_dump
|
||||
@@ -13,7 +13,7 @@ foreach (TOOL ${MDBX_TOOLS})
|
||||
add_executable(${TOOL} ${TOOL}.c)
|
||||
endif()
|
||||
|
||||
target_link_libraries(${TOOL} mdbx_objects ${CMAKE_THREAD_LIBS_INIT})
|
||||
target_link_libraries(${TOOL} mdbx)
|
||||
set_target_properties(${TOOL} PROPERTIES
|
||||
INTERPROCEDURAL_OPTIMIZATION $<BOOL:${INTERPROCEDURAL_OPTIMIZATION}>)
|
||||
|
||||
|
Reference in New Issue
Block a user