vcpkg/ports/leveldb/leveldbConfig.cmake.in
LilyWangLL 3ab5fc5925
[leveldb] Fix target "Threads::Threads" was not found (#23126)
* [leveldb] Fix target "Threads::Threads" was not found

* update version

* add dependency pthreads

* update version

* remove pthreads

* update version

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2022-02-18 14:37:04 -08:00

15 lines
331 B
CMake

@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
set_and_check(leveldb_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")
find_dependency(Threads)
if (@WITH_CRC32C@)
find_dependency(Crc32c CONFIG)
endif()
if (@WITH_SNAPPY@)
find_dependency(Snappy CONFIG)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/leveldbTargets.cmake")