Closed RobertAlbus closed 4 weeks ago
Closing this issue because it is is solved on master
with the following CMake arguments:
cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR \
-DCMAKE_INSTALL_INCLUDEDIR=include/portaudio \
-DCMAKE_FRAMEWORK=FALSE \
..
Describe the bug When installing PortAudio with
make install
the header is placed at/include/portaudio.h
instead ofCMAKE_INSTALL_PREFIX/CMAKE_INSTALL_INCLUDEDIR/portaudio.h
To Reproduce Steps to reproduce the behavior. Include code if applicable.
Expected behavior The header should be installed at the configured location:
CMAKE_INSTALL_PREFIX/CMAKE_INSTALL_INCLUDEDIR/portaudio.h
/dependencies/include/portaudio/portaudio.h
Actual behavior Regardless of configuration, the header is installed at:
/dependencies/include/portaudio.h
Desktop (please complete the following information):
Additional context This works with most other libraries that define an
install
target.