summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorprotomors <protomors@gmail.com>2018-11-21 21:19:46 +0200
committerGeorge Hazan <ghazan@miranda.im>2019-07-12 18:09:25 +0300
commit7db552400ebad470365c95c81ba8cfbaef51d599 (patch)
treee836b342e33ed6ad4abdd51ee8ad36a731cd9f3a /plugins
parent4859b560b6a7b0ea7490b1dceab417deb55ce4a0 (diff)
CMake: libmdbx build.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Dbx_mdbx/CMakeLists.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/Dbx_mdbx/CMakeLists.txt b/plugins/Dbx_mdbx/CMakeLists.txt
index 22c94a8634..8054cf97c3 100644
--- a/plugins/Dbx_mdbx/CMakeLists.txt
+++ b/plugins/Dbx_mdbx/CMakeLists.txt
@@ -1,6 +1,5 @@
-file(GLOB SOURCES "src/*.h" "src/*.cpp" "src/dbtool/*.cpp" "res/*.rc"
-"src/libmdbx/src/lck-windows.c" "src/libmdbx/src/mdbx.c" "src/libmdbx/src/osal.c"
-"src/libmdbx/src/version.c" "src/libmdbx/mdbx.h")
+file(GLOB SOURCES "src/*.h" "src/*.cpp" "res/*.rc")
set(TARGET Dbx_mdbx)
-include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake) \ No newline at end of file
+include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake)
+target_link_libraries(${TARGET} libmdbx) \ No newline at end of file