Install the ambdec preset files

This commit is contained in:
Chris Robinson
2016-04-23 17:29:51 -07:00
parent c6a11770c5
commit c2dec5008b
+14
View File
@@ -41,6 +41,7 @@ OPTION(ALSOFT_TESTS "Build and install test programs" ON)
OPTION(ALSOFT_CONFIG "Install alsoft.conf sample configuration file" ON)
OPTION(ALSOFT_HRTF_DEFS "Install HRTF definition files" ON)
OPTION(ALSOFT_AMBDEC_PRESETS "Install AmbDec preset files" ON)
OPTION(ALSOFT_INSTALL "Install headers and libraries" ON)
@@ -1227,6 +1228,19 @@ IF(ALSOFT_HRTF_DEFS)
MESSAGE(STATUS "")
ENDIF()
# Install AmbDec presets
IF(ALSOFT_AMBDEC_PRESETS)
INSTALL(FILES presets/3D7.1.ambdec
presets/hexagon.ambdec
presets/rectangle.ambdec
presets/square.ambdec
presets/presets.txt
DESTINATION ${SHARE_INSTALL_DIR}/openal/presets
)
MESSAGE(STATUS "Installing HRTF definitions")
MESSAGE(STATUS "")
ENDIF()
IF(ALSOFT_UTILS)
ADD_EXECUTABLE(openal-info utils/openal-info.c)
TARGET_LINK_LIBRARIES(openal-info ${LIBNAME})