mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 04:37:20 +08:00
27 lines
882 B
CMake
27 lines
882 B
CMake
|
|
||
|
install(
|
||
|
EXPORT unofficial-aliyun-oss-cpp-sdk-targets
|
||
|
NAMESPACE unofficial::aliyun-oss-cpp-sdk::
|
||
|
DESTINATION share/unofficial-aliyun-oss-cpp-sdk
|
||
|
)
|
||
|
|
||
|
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/unofficial-aliyun-oss-cpp-sdk-config.cmake.in" [[
|
||
|
@PACKAGE_INIT@
|
||
|
include(CMakeFindDependencyMacro)
|
||
|
find_dependency(CURL REQUIRED)
|
||
|
find_dependency(OpenSSL REQUIRED)
|
||
|
include("${CMAKE_CURRENT_LIST_DIR}/unofficial-aliyun-oss-cpp-sdk-targets.cmake")
|
||
|
]]
|
||
|
)
|
||
|
|
||
|
include(CMakePackageConfigHelpers)
|
||
|
configure_package_config_file("${CMAKE_CURRENT_BINARY_DIR}/unofficial-aliyun-oss-cpp-sdk-config.cmake.in"
|
||
|
"${CMAKE_CURRENT_BINARY_DIR}/unofficial-aliyun-oss-cpp-sdk-config.cmake"
|
||
|
INSTALL_DESTINATION "share/unofficial-aliyun-oss-cpp-sdk"
|
||
|
)
|
||
|
|
||
|
install(FILES
|
||
|
"${CMAKE_CURRENT_BINARY_DIR}/unofficial-aliyun-oss-cpp-sdk-config.cmake"
|
||
|
DESTINATION "share/unofficial-aliyun-oss-cpp-sdk"
|
||
|
)
|