at 23.05-pre 21 lines 1.0 kB view raw
1diff --git a/tools/boost_install/boost-install.jam b/tools/boost_install/boost-install.jam 2index ad19f7b55..ec6bf57ff 100644 3--- a/tools/boost_install/boost-install.jam 4+++ b/tools/boost_install/boost-install.jam 5@@ -587,6 +587,7 @@ rule generate-cmake-config- ( target : sources * : properties * ) 6 "# Compute the include and library directories relative to this file." 7 "" 8 "get_filename_component(_BOOST_CMAKEDIR \"${CMAKE_CURRENT_LIST_DIR}/../\" ABSOLUTE)" 9+ "get_filename_component(_BOOST_REAL_CMAKEDIR \"${CMAKE_CURRENT_LIST_DIR}/../\" ABSOLUTE)" 10 : true ; 11 12 if [ path.is-rooted $(cmakedir) ] 13@@ -607,6 +608,8 @@ rule generate-cmake-config- ( target : sources * : properties * ) 14 " unset(_BOOST_CMAKEDIR_ORIGINAL)" 15 "endif()" 16 "" 17+ "# Assume that the installer actually did know where the libs were to be installed" 18+ "get_filename_component(_BOOST_CMAKEDIR \"$(cmakedir-native)\" REALPATH)" 19 : true ; 20 } 21