mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
14 lines
497 B
CMake
14 lines
497 B
CMake
|
cmake_minimum_required(VERSION 3.21)
|
||
|
|
||
|
include(CMakePackageConfigHelpers)
|
||
|
|
||
|
project(Boost VERSION @VERSION@ LANGUAGES NONE)
|
||
|
|
||
|
set(CONFIG_VERSION_FILE_NAME "${CMAKE_CURRENT_BINARY_DIR}/tmpinst/BoostConfigVersion.cmake")
|
||
|
|
||
|
write_basic_package_version_file("${CONFIG_VERSION_FILE_NAME}" COMPATIBILITY SameMajorVersion ARCH_INDEPENDENT)
|
||
|
|
||
|
install(FILES
|
||
|
"${CONFIG_VERSION_FILE_NAME}"
|
||
|
"${CMAKE_CURRENT_SOURCE_DIR}/config/BoostConfig.cmake"
|
||
|
DESTINATION "share/boost")
|