summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorstefonzo <stevester.robinson@gmail.com>2022-09-05 20:17:22 -0500
committerstefonzo <stevester.robinson@gmail.com>2022-09-05 20:17:22 -0500
commit7dac325122067bd8b453c0ec60fc1a768bb6f934 (patch)
treeaab7173f2c19eacaf433f443d2fc53e198ce89d7 /CMakeLists.txt
parent16431035f8e1c61e37adcceb8eab75e8d0dfed62 (diff)
adds libwav
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 16b27d1..e223470 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,6 +13,7 @@ option(MOSSROSE_BUILD_TESTS "Build the tests" OFF)
######## third-party libraries ########
add_subdirectory(${CMAKE_SOURCE_DIR}/3rdparty/portaudio EXCLUDE_FROM_ALL)
add_subdirectory(${CMAKE_SOURCE_DIR}/3rdparty/plibsys EXCLUDE_FROM_ALL)
+add_subdirectory(${CMAKE_SOURCE_DIR}/3rdparty/libwav EXCLUDE_FROM_ALL)
add_library(mossrose)
set_target_properties(mossrose PROPERTIES
@@ -21,7 +22,7 @@ set_target_properties(mossrose PROPERTIES
VERSION ${PROJECT_VERSION}
PUBLIC_HEADER src/mossrose.h
)
-target_link_libraries(mossrose portaudio plibsys m)
+target_link_libraries(mossrose portaudio plibsys wav::wav m)
if (MOSSROSE_BUILD_EXAMPLES)