freebsd-ports/audio/codec2/files/patch-unittest__CMakeLists.txt

15 lines
472 B
Text
Raw Normal View History

--- unittest/CMakeLists.txt.orig 2017-06-12 01:04:28 UTC
+++ unittest/CMakeLists.txt
@@ -91,7 +91,10 @@ add_executable(tnewamp1 tnewamp1.c ../sr
target_link_libraries(tnewamp1 codec2)
add_executable(tsrc tsrc.c)
-target_link_libraries(tsrc samplerate)
+target_link_libraries(tsrc ${SAMPLERATE_LIBRARY})
+set_target_properties(tsrc
+ PROPERTIES INCLUDE_DIRECTORIES ${SAMPLERATE_INCLUDE_DIR}
+)
add_executable(tlininterp tlininterp.c)
add_executable(tdec tdec.c)