mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 09:19:00 +08:00
[leveldb] force static build when triplet is dynamic
This commit is contained in:
parent
4cb5212dcb
commit
c7caa18a71
@ -1,3 +1,3 @@
|
||||
Source: leveldb
|
||||
Version: 2017-10-25-8b1cd3753b184341e837b30383832645135d3d73
|
||||
Version: 2017-10-25-8b1cd3753b184341e837b30383832645135d3d73-1
|
||||
Description: LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.
|
||||
|
@ -1,8 +1,6 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
message(FATAL_ERROR "leveldb doesn't currently support dynamic buildsas there are no export symbols defined.")
|
||||
endif()
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/leveldb-8b1cd3753b184341e837b30383832645135d3d73)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user