Rename ALSOFT_INSTALL_HRTF_DEFS to ALSOFT_INSTALL_HRTF_DATA
This commit is contained in:
+4
-4
@@ -59,7 +59,7 @@ option(ALSOFT_EXAMPLES "Build example programs" ON)
|
||||
|
||||
option(ALSOFT_INSTALL "Install main library" ON)
|
||||
option(ALSOFT_INSTALL_CONFIG "Install alsoft.conf sample configuration file" ON)
|
||||
option(ALSOFT_INSTALL_HRTF_DEFS "Install HRTF definition files" ON)
|
||||
option(ALSOFT_INSTALL_HRTF_DATA "Install HRTF data files" ON)
|
||||
option(ALSOFT_INSTALL_AMBDEC_PRESETS "Install AmbDec preset files" ON)
|
||||
option(ALSOFT_INSTALL_EXAMPLES "Install example programs (alplay, alstream, ...)" ON)
|
||||
option(ALSOFT_INSTALL_UTILS "Install utility programs (openal-info, alsoft-config, ...)" ON)
|
||||
@@ -77,7 +77,7 @@ if(DEFINED ALSOFT_CONFIG)
|
||||
message(WARNING "ALSOFT_CONFIG is deprecated. Use ALSOFT_INSTALL_CONFIG instead")
|
||||
endif()
|
||||
if(DEFINED ALSOFT_HRTF_DEFS)
|
||||
message(WARNING "ALSOFT_HRTF_DEFS is deprecated. Use ALSOFT_INSTALL_HRTF_DEFS instead")
|
||||
message(WARNING "ALSOFT_HRTF_DEFS is deprecated. Use ALSOFT_INSTALL_HRTF_DATA instead")
|
||||
endif()
|
||||
if(DEFINED ALSOFT_AMBDEC_PRESETS)
|
||||
message(WARNING "ALSOFT_AMBDEC_PRESETS is deprecated. Use ALSOFT_INSTALL_AMBDEC_PRESETS instead")
|
||||
@@ -1325,10 +1325,10 @@ if(ALSOFT_INSTALL_CONFIG)
|
||||
message(STATUS "Installing sample configuration")
|
||||
endif()
|
||||
|
||||
if(ALSOFT_INSTALL_HRTF_DEFS)
|
||||
if(ALSOFT_INSTALL_HRTF_DATA)
|
||||
install(DIRECTORY hrtf
|
||||
DESTINATION ${CMAKE_INSTALL_DATADIR}/openal)
|
||||
message(STATUS "Installing HRTF definitions")
|
||||
message(STATUS "Installing HRTF data files")
|
||||
endif()
|
||||
|
||||
if(ALSOFT_INSTALL_AMBDEC_PRESETS)
|
||||
|
||||
Reference in New Issue
Block a user