Skip to content

Commit 8da84d1

Browse files
authored
Merge pull request #88 from Flamefire/cmake-version
CMake: Show used CMake version in super-builds
2 parents 6c866aa + 264a16a commit 8da84d1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

include/BoostRoot.cmake

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Copyright 2019-2023 Peter Dimov
2+
# Copyright 2025 Alexander Grund
23
# Distributed under the Boost Software License, Version 1.0.
34
# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
45

@@ -13,7 +14,11 @@ include(BoostInstall)
1314

1415
#
1516

16-
boost_message(VERBOSE "Boost: using CMake ${CMAKE_VERSION}")
17+
if(CMAKE_SOURCE_DIR STREQUAL Boost_SOURCE_DIR)
18+
boost_message(STATUS "Boost: using CMake ${CMAKE_VERSION}")
19+
else()
20+
boost_message(VERBOSE "Boost: using CMake ${CMAKE_VERSION}")
21+
endif()
1722

1823
#
1924

0 commit comments

Comments
 (0)