Commit 38b65dbc authored by John Tourtellott's avatar John Tourtellott

Remove hard-coded pybind version in smtkConfig file

Fixes conda packages that use smtk-conda
parent c52e461a
......@@ -75,7 +75,7 @@ else()
set(PYTHON_INCLUDE_DIR ${SMTK_PYTHON_INCLUDE_DIR})
endif ()
find_package(pybind11 2.3)
find_package(pybind11 @pybind11_VERSION@)
endif()
set(SMTK_PLUGINS @SMTK_PLUGINS@)
......
......@@ -414,6 +414,7 @@ if(SMTK_ENABLE_PYTHON_WRAPPING)
find_package(pybind11 REQUIRED)
else()
find_package(pybind11 2.3 REQUIRED)
set(pybind11_VERSION "2.3")
endif()
set(SMTK_PYBIND11_FLAGS " ")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment