Install the ambdec preset files
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user