add docs for cmake update
parent
bd9d501269
commit
6309917fdf
|
@ -28,11 +28,13 @@ install(FILES cmake/gtwrapConfig.cmake cmake/PybindWrap.cmake
|
||||||
|
|
||||||
# Install wrapping scripts as binaries to `CMAKE_INSTALL_PREFIX/bin` so they can
|
# Install wrapping scripts as binaries to `CMAKE_INSTALL_PREFIX/bin` so they can
|
||||||
# be invoked for wrapping.
|
# be invoked for wrapping.
|
||||||
|
# We use DESTINATION (instead of TYPE) so we can support older CMake versions.
|
||||||
install(PROGRAMS scripts/pybind_wrap.py scripts/matlab_wrap.py
|
install(PROGRAMS scripts/pybind_wrap.py scripts/matlab_wrap.py
|
||||||
DESTINATION ${CMAKE_INSTALL_BINDIR})
|
DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||||
|
|
||||||
# Install pybind11 directory to `CMAKE_INSTALL_PREFIX/lib/pybind11` This will
|
# Install pybind11 directory to `CMAKE_INSTALL_PREFIX/lib/pybind11` This will
|
||||||
# allow the gtwrapConfig.cmake file to load it later.
|
# allow the gtwrapConfig.cmake file to load it later.
|
||||||
|
# We use DESTINATION (instead of TYPE) so we can support older CMake versions.
|
||||||
install(DIRECTORY pybind11
|
install(DIRECTORY pybind11
|
||||||
DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue