mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-20 14:59:27 +00:00
Skip boost::variant tests on unsupported compilers and versions of Boost
This commit is contained in:
@@ -114,8 +114,8 @@ if(PYBIND11_TEST_FILES_EIGEN_I GREATER -1)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Optional dependency for some tests
|
||||
find_package(Boost)
|
||||
# Optional dependency for some tests (boost::variant is only supported with version >= 1.56)
|
||||
find_package(Boost 1.56)
|
||||
|
||||
# Compile with compiler warnings turned on
|
||||
function(pybind11_enable_warnings target_name)
|
||||
|
||||
Reference in New Issue
Block a user