PortMidi/portmidi

The cmake file should be installed in CMAKE_INSTALL_LIBDIR

Closed this issue · 1 comments

set(PORTMIDI_INSTALL_CMAKEDIR "lib/cmake/PortMidi")

The cmake files should be installed in ${CMAKE_INSTALL_LIBDIR} to take /usr/lib64 into account!

Are you saying the line should be set(PORTMIDI_INSTALL_CMAKEDIR ${CMAKE_INSTALL_LIBDIR}) ?
If so, would it be even better to remove the set command and just replace occurrences of PORTMIDI_INSTALL_CMAKEDIR with CMAKE_INSTALL_LIBDIR? That would just be in DESTINATION and INSTALL_DESTINATION options (lines 130, 135, 146). Maybe this would even be the default for DESTINATION, in which case could the DESTINATION and/or INSTALL_DESTINATION options be removed?