We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4740ef commit 96b23c5Copy full SHA for 96b23c5
cmake/dependencies/pybind11.cmake
@@ -62,6 +62,9 @@ file(READ "${pyAMReX_SOURCE_DIR}/dependencies.json" dependencies_data)
62
string(JSON pybind11_version GET "${dependencies_data}" version_pybind11)
63
string(JSON pybind11_commit GET "${dependencies_data}" commit_pybind11)
64
65
+# Strip "v" prefix from version for find_package
66
+string(REGEX REPLACE "^v" "" pybind11_version "${pybind11_version}")
67
+
68
set(pyAMReX_pybind11_branch ${pybind11_commit}
69
CACHE STRING
70
"Repository branch for pyAMReX_pybind11_repo if(pyAMReX_pybind11_internal)")
0 commit comments