aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-03-22 22:45:03 -0700
committerChris Robinson <[email protected]>2012-03-22 22:45:03 -0700
commitb51afb74da12c790fde6804d99c982685c781d4e (patch)
treeba7dfd505a56b87ccedba04306a16abfab6a05ed /CMakeLists.txt
parent5a43cd3b64664d891888a93bc120c6650b73ccd5 (diff)
Add a utility to generate OpenAL Soft's HRTF data from the MIT KEMAR data
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2bb27336..d067ded7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -743,7 +743,13 @@ ENDIF()
IF(UTILS)
ADD_EXECUTABLE(openal-info utils/openal-info.c)
TARGET_LINK_LIBRARIES(openal-info ${LIBNAME})
- INSTALL(TARGETS openal-info
+
+ ADD_EXECUTABLE(makehrtf utils/makehrtf.c)
+ IF(HAVE_LIBM)
+ TARGET_LINK_LIBRARIES(makehrtf m)
+ ENDIF()
+
+ INSTALL(TARGETS openal-info makehrtf
RUNTIME DESTINATION bin
LIBRARY DESTINATION "lib${LIB_SUFFIX}"
ARCHIVE DESTINATION "lib${LIB_SUFFIX}"