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)
173
173
if (boost_libs )
174
174
message (STATUS "Boost libs scheduled for build: ${boost_libs} " )
175
175
set (Boost_LIBRARIES "${boost_libs} " PARENT_SCOPE )
176
+ set (Boost_LIBRARY_DIR "${install_dir} /${stage_dir} /lib/" CACHE STRING "" FORCE )
176
177
else ()
177
178
set (Boost_LIBRARIES "" PARENT_SCOPE )
179
+ set (Boost_LIBRARY_DIR "" CACHE STRING "" FORCE )
178
180
endif ()
179
181
180
182
# b2 headers
@@ -188,6 +190,7 @@ function(boost_lib_installer req_boost_version req_boost_libs)
188
190
message (STATUS "Headers found." )
189
191
endif ()
190
192
193
+ set (Boost_INCLUDE_DIR "${install_dir} " CACHE STRING "" FORCE )
191
194
set (Boost_INCLUDE_DIRS "${install_dir} " PARENT_SCOPE )
192
195
set (Boost_FOUND TRUE PARENT_SCOPE )
193
196
You can’t perform that action at this time.
0 commit comments