vcpkg/ports/rocksdb/vcpkg-cmake-wrapper.cmake
Koby Kahane 91ba6e4631 [rocksdb] update to v5.15.10 (#4342)
* [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
2018-11-01 20:47:44 -07:00

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()