Skip to content

Commit f323bd4

Browse files
committed
cmake: use boost include dirs and version in status message
1 parent dbd5521 commit f323bd4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmake/EthDependencies.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ if (NOT TARGET Boost::boost) # header only target
4949
add_library(Boost::boost INTERFACE IMPORTED)
5050
set_property(TARGET Boost::boost APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${Boost_INCLUDE_DIRS})
5151
endif()
52-
get_property(LOCATION TARGET Boost::boost PROPERTY INTERFACE_INCLUDE_DIRECTORIES)
53-
message(STATUS "Found Boost headers in ${LOCATION}")
52+
message(STATUS "Found Boost ${Boost_VERSION} headers in ${Boost_INCLUDE_DIRS}")
5453

5554
foreach (BOOST_COMPONENT IN LISTS BOOST_COMPONENTS)
5655
if (NOT TARGET Boost::${BOOST_COMPONENT})

0 commit comments

Comments
 (0)