summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-09-08 22:15:35 -0500
committersanine <sanine.not@pm.me>2022-09-08 22:15:35 -0500
commit61beb2d4ed1118c463e615c1ca3ccefbd7041bbe (patch)
tree39744afb15495f385d97934166d017f774858f58 /CMakeLists.txt
parentd3a90be424952e9a4d0e1e571c489b6e0e0fea62 (diff)
fix include bug in libwavfeature-load-wav
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 bcaff18..4f49a04 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,7 +22,8 @@ set_target_properties(mossrose PROPERTIES
VERSION ${PROJECT_VERSION}
PUBLIC_HEADER src/mossrose.h
)
-target_link_libraries(mossrose portaudio_static plibsysstatic)
+target_link_libraries(mossrose portaudio_static plibsysstatic wav::wav)
+target_include_directories(mossrose PUBLIC ${CMAKE_SOURCE_DIR}/3rdparty/libwav/include)
if (UNIX)
target_link_libraries(mossrose m)
endif()