You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Drop pybind11 submodule and update config
* Update installation docs in README
* Fix typo
* Also set `PYBIND11_FINDPYTHON`
* Oops, import from global dep
* Turn `FINDPYTHON` to `OFF`
* Set it back on, drop older `FindPython` mode
* Revert "Set it back on, drop older `FindPython` mode"
This reverts commit 37ebcd1.
* Add pybind11 include dir
* Pass pybind11's include dir
* Rework CasADi libs detection
* Lint
* Update CMakeLists.txt
Co-authored-by: Marc Berliner <[email protected]>
* Update CMakeLists.txt
Co-authored-by: Marc Berliner <[email protected]>
---------
Co-authored-by: Marc Berliner <[email protected]>
message(WARNING "CasADi CMake config not found in ${CASADI_DIR}. Proceeding without find_package; using include and library paths discovered from the Python package.")
113
+
endif ()
114
+
115
+
execute_process(
116
+
COMMAND"${PYTHON_EXECUTABLE}" -c
117
+
"import casadi; from pathlib import Path; print(Path(casadi.__file__).parent / 'include')"
0 commit comments