From bd9d50126975b4c4b88794e8aff0a0d5ff7e0cc4 Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Wed, 6 Jan 2021 17:58:46 -0500 Subject: [PATCH] use older form of CMake install --- wrap/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wrap/CMakeLists.txt b/wrap/CMakeLists.txt index 4c89ab96e..a877c4a16 100644 --- a/wrap/CMakeLists.txt +++ b/wrap/CMakeLists.txt @@ -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 # be invoked for wrapping. -install(PROGRAMS scripts/pybind_wrap.py scripts/matlab_wrap.py TYPE BIN) +install(PROGRAMS scripts/pybind_wrap.py scripts/matlab_wrap.py + DESTINATION ${CMAKE_INSTALL_BINDIR}) # Install pybind11 directory to `CMAKE_INSTALL_PREFIX/lib/pybind11` This will # allow the gtwrapConfig.cmake file to load it later. -install(DIRECTORY pybind11 TYPE LIB) +install(DIRECTORY pybind11 + DESTINATION ${CMAKE_INSTALL_LIBDIR}) # ############################################################################## # Install the Python package