diff options
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ba1aea3..7696ade 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,8 +41,8 @@ add_example("pcm-writei" "examples/pcm-writei.c") macro(ADD_UTIL UTIL) add_executable(${UTIL} ${ARGN}) - target_link_libraries(${UTIL} "tinyalsa") - target_link_libraries(${UTIL} "dl") + target_link_libraries(${UTIL} PRIVATE "tinyalsa") + target_link_libraries(${UTIL} PRIVATE "dl") target_compile_options(${UTIL} PRIVATE -Wall -Wextra -Werror -Wfatal-errors) target_include_directories(${UTIL} PRIVATE "include") endmacro(ADD_UTIL UTIL) @@ -51,6 +51,9 @@ add_util("tinyplay" "utils/tinyplay.c") add_util("tinycap" "utils/tinycap.c") add_util("tinypcminfo" "utils/tinypcminfo.c") add_util("tinymix" "utils/tinymix.c") +add_util("tinywavinfo" "utils/tinywavinfo.c") + +target_link_libraries("tinywavinfo" PRIVATE m) install(FILES ${HDRS} DESTINATION "include/tinyalsa") |