File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 11# Copyright 2018 Mike Dev
2- # Copyright 2019 Peter Dimov
2+ # Copyright 2019, 2025 Peter Dimov
33# Distributed under the Boost Software License, Version 1.0.
4- # See accompanying file LICENSE_1_0.txt or copy at http ://www.boost.org/LICENSE_1_0.txt
4+ # https ://www.boost.org/LICENSE_1_0.txt
55
6- # We support CMake 3.5, but prefer 3.16 policies and behavior
7- cmake_minimum_required (VERSION 3.5...3.16 )
6+ # We support CMake 3.5, but prefer 3.31 policies and behavior
7+ cmake_minimum_required (VERSION 3.5...3.31 )
88
99project (boost_static_assert VERSION "${BOOST_SUPERPROJECT_VERSION} " LANGUAGES CXX )
1010
@@ -16,6 +16,14 @@ target_link_libraries(boost_static_assert
1616 Boost::config
1717)
1818
19+ # Automatic installation doesn't trigger because we have no include directory
20+
21+ if (BOOST_SUPERPROJECT_VERSION AND NOT CMAKE_VERSION VERSION_LESS 3.13)
22+
23+ boost_install (TARGETS boost_static_assert VERSION ${BOOST_SUPERPROJECT_VERSION} )
24+
25+ endif ()
26+
1927# BUILD_TESTING is the standard CTest variable that enables testing
2028
2129if (BUILD_TESTING)
You can’t perform that action at this time.
0 commit comments