File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -173,8 +173,10 @@ function(boost_lib_installer req_boost_version req_boost_libs)
173173 if (boost_libs)
174174 message (STATUS "Boost libs scheduled for build: ${boost_libs} " )
175175 set (Boost_LIBRARIES "${boost_libs} " PARENT_SCOPE)
176+ set (Boost_LIBRARY_DIR "${install_dir} /${stage_dir} /lib/" CACHE STRING "" FORCE)
176177 else ()
177178 set (Boost_LIBRARIES "" PARENT_SCOPE)
179+ set (Boost_LIBRARY_DIR "" CACHE STRING "" FORCE)
178180 endif ()
179181
180182 # b2 headers
@@ -188,6 +190,7 @@ function(boost_lib_installer req_boost_version req_boost_libs)
188190 message (STATUS "Headers found." )
189191 endif ()
190192
193+ set (Boost_INCLUDE_DIR "${install_dir} " CACHE STRING "" FORCE)
191194 set (Boost_INCLUDE_DIRS "${install_dir} " PARENT_SCOPE)
192195 set (Boost_FOUND TRUE PARENT_SCOPE)
193196
You can’t perform that action at this time.
0 commit comments