1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/audio/codec2/files/patch-unittest__CMakeLists.txt
Yuri Victorovich 67729b7c8c audio/codec2: Update 0.7 -> 0.8.1
Port changes:
* Change MASTER_SITES
* Add LICENSE_FILE
* Move examples to ${EXAMPLESDIR}, add PORTEXAMPLES=*, remove them from pkg-plist

PR:		228281
Submitted by:	takefu@airport.fm
2018-09-04 06:34:50 +00:00

15 lines
472 B
Plaintext

--- unittest/CMakeLists.txt.orig 2018-04-12 23:12:25 UTC
+++ unittest/CMakeLists.txt
@@ -92,7 +92,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)