summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-06-04 19:40:52 -0700
committerChris Robinson <[email protected]>2008-06-04 19:40:52 -0700
commit86c01aa62c7f43b1f9e6dac5d28e902b8bdbd150 (patch)
tree77b42c320b23a5c539c3bf7138e22b3298c8adcd
parent15783d25e73276da7422bf60c27eb51d3ee9904c (diff)
Install openal-info if it is built
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 09ba20d0..355dccc7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -321,6 +321,11 @@ INSTALL(FILES include/AL/al.h
IF(EXAMPLES)
ADD_EXECUTABLE(openal-info examples/openal-info.c)
TARGET_LINK_LIBRARIES(openal-info ${LIBNAME})
+ INSTALL(TARGETS openal-info
+ RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION lib
+ )
ENDIF()
MESSAGE(STATUS "")