mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-26 23:22:01 +00:00
Merge branch 'pybind:master' into master
This commit is contained in:
commit
eb54c1974d
@ -331,7 +331,7 @@ if(Boost_FOUND)
|
|||||||
add_library(Boost::headers IMPORTED INTERFACE)
|
add_library(Boost::headers IMPORTED INTERFACE)
|
||||||
if(TARGET Boost::boost)
|
if(TARGET Boost::boost)
|
||||||
# Classic FindBoost
|
# Classic FindBoost
|
||||||
set_property(TARGET Boost::boost PROPERTY INTERFACE_LINK_LIBRARIES Boost::boost)
|
set_property(TARGET Boost::headers PROPERTY INTERFACE_LINK_LIBRARIES Boost::boost)
|
||||||
else()
|
else()
|
||||||
# Very old FindBoost, or newer Boost than CMake in older CMakes
|
# Very old FindBoost, or newer Boost than CMake in older CMakes
|
||||||
set_property(TARGET Boost::headers PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
set_property(TARGET Boost::headers PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
||||||
|
Loading…
Reference in New Issue
Block a user