From 61beb2d4ed1118c463e615c1ca3ccefbd7041bbe Mon Sep 17 00:00:00 2001 From: sanine Date: Thu, 8 Sep 2022 22:15:35 -0500 Subject: fix include bug in libwav --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') 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() -- cgit v1.2.1