diff options
| author | icedream2linxi <icedream2linxi@qq.com> | 2018-08-25 05:03:45 +0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-08-24 14:03:45 -0700 |
| commit | 5fd80fa19486d8b74b69754ef32e3362b57953af (patch) | |
| tree | 6626f14145c6317faa684a7da4cc5a3a7b53a222 /ports/lmdb/cmake | |
| parent | cef892ffaec14c0f1293b309bb0ce26fa56a7bef (diff) | |
| download | vcpkg-5fd80fa19486d8b74b69754ef32e3362b57953af.tar.gz vcpkg-5fd80fa19486d8b74b69754ef32e3362b57953af.zip | |
[lmdb] Remove non-WIN32 dependencies on ntdll.lib. Fixed #4053 (#4054)
* Remove non-WIN32 dependencies on ntdll.lib. Fixed #4053
* [lmdb] Use vcpkg_from_github
* [lmdb] Fix broken SOURCE_PATH
Diffstat (limited to 'ports/lmdb/cmake')
| -rw-r--r-- | ports/lmdb/cmake/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ports/lmdb/cmake/CMakeLists.txt b/ports/lmdb/cmake/CMakeLists.txt index 32097e86a..dfa61785f 100644 --- a/ports/lmdb/cmake/CMakeLists.txt +++ b/ports/lmdb/cmake/CMakeLists.txt @@ -29,7 +29,9 @@ endif() set(SRCS lmdb mdb.c lmdb.h midl.c midl.h ) add_library(lmdb ${SRCS}) set_target_properties(lmdb PROPERTIES DEBUG_POSTFIX d) -target_link_libraries(lmdb PRIVATE ntdll.lib) +if (WIN32) + target_link_libraries(lmdb PRIVATE ntdll.lib) +endif() install(TARGETS lmdb DESTINATION lib EXPORT lmdb-targets |
