-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathBoostConfigVersion.cmake.in
More file actions
29 lines (25 loc) · 1018 Bytes
/
BoostConfigVersion.cmake.in
File metadata and controls
29 lines (25 loc) · 1018 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# - Boost(Cadfael) CMake Versioning File for External Projects
# This file is configured by Cadfael's Boost port for use with CMake's
# find_package in Config mode.
# It enables external projects to determine the version of Boost found.
# More importantly, it allows that command to automatically determine
# whether the found install is compatible with any VERSION that was
# supplied with find_package.
#
# As this file is configured by Boost(Cadfael) port system it SHOULD NOT
# BE EDITED
#
#-----------------------------------------------------------------------
# Installed Version as set from CMake
#
set(PACKAGE_VERSION "@Boost_VERSION@")
# Check whether the requested PACKAGE_FIND_VERSION is compatible with this
# installed version.
if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
set(PACKAGE_VERSION_COMPATIBLE FALSE)
else()
set(PACKAGE_VERSION_COMPATIBLE TRUE)
if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
set(PACKAGE_VERSION_EXACT TRUE)
endif()
endif()