mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 02:59:07 +08:00
91ba6e4631
* [rocksdb] Update to v5.15.10 * [rocksdb] Cleanup * [rocksdb] Fix cmake targets name. * [toolchains] Set NDEBUG in release * [rocksdb] Disable vcpkg_test_cmake due to misbehavior in x64 * [tiff] Use lzma on linux
10 lines
507 B
CMake
10 lines
507 B
CMake
_find_package(${ARGS})
|
|
if(NOT TARGET RocksDB::rocksdb AND TARGET RocksDB::rocksdb-shared)
|
|
add_library(RocksDB::rocksdb INTERFACE IMPORTED)
|
|
set_target_properties(RocksDB::rocksdb PROPERTIES INTERFACE_LINK_LIBRARIES "RocksDB::rocksdb-shared")
|
|
endif()
|
|
if(TARGET RocksDB::rocksdb AND NOT TARGET RocksDB::rocksdb-shared)
|
|
add_library(RocksDB::rocksdb-shared INTERFACE IMPORTED)
|
|
set_target_properties(RocksDB::rocksdb-shared PROPERTIES INTERFACE_LINK_LIBRARIES "RocksDB::rocksdb")
|
|
endif()
|