Merge pull request #2139 from UnaNancyOwen/fix_buildsystems

Reset settings to find boost libraries
This commit is contained in:
Robert Schumacher 2017-11-06 09:49:13 -08:00 committed by GitHub
commit 5743b68bc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -155,6 +155,8 @@ endfunction()
macro(find_package name)
if(name STREQUAL "Boost")
unset(Boost_USE_STATIC_LIBS)
unset(Boost_USE_MULTITHREADED)
unset(Boost_USE_STATIC_RUNTIME)
endif()
_find_package(${ARGV})
endmacro()