2
0
mirror of https://github.com/boostorg/cmake.git synced 2026-01-19 04:02:15 +00:00

Merge branch 'rules_foreign_cc_interop' of https://github.com/soro/cmake into feature/pr-67

This commit is contained in:
Peter Dimov
2024-06-19 22:15:13 +03:00

View File

@@ -345,7 +345,7 @@ function(boost_install_target)
if(dep MATCHES "^Boost::(.*)$")
string(APPEND CONFIG_FILE_CONTENTS "if(NOT boost_${CMAKE_MATCH_1}_FOUND)\n")
string(APPEND CONFIG_FILE_CONTENTS " find_dependency(boost_${CMAKE_MATCH_1} ${__VERSION} EXACT)\n")
string(APPEND CONFIG_FILE_CONTENTS " find_dependency(boost_${CMAKE_MATCH_1} ${__VERSION} EXACT HINTS \"\${CMAKE_CURRENT_LIST_DIR}/..\")\n")
string(APPEND CONFIG_FILE_CONTENTS "endif()\n")
elseif(dep MATCHES "^\\$<TARGET_NAME_IF_EXISTS:Boost::(.*)>$")