ports/audio/chromaprint/files/patch-tests_CMakeLists.txt
Jason E. Hale 409995bd9e Update audio/chromaprint to 1.4.2
- Chromaprint itself is now licensed MIT, but it still includes LGPL21 code
- Add DOXYGEN option to build and install API docs
- Add TEST option to build regression tests
- API has changed, so some dependent ports needed to be patched (mostly
  taken from their respective upstream repositories)

Changes:	https://github.com/acoustid/chromaprint/blob/v1.4.2/NEWS.txt
2017-01-06 14:24:00 +00:00

14 lines
435 B
Text

--- tests/CMakeLists.txt.orig 2016-12-23 11:50:27 UTC
+++ tests/CMakeLists.txt
@@ -36,6 +36,11 @@ set(SRCS
if(BUILD_TOOLS)
set(SRCS ${SRCS} ../src/audio/ffmpeg_audio_reader_test.cpp)
link_libraries(fpcalc_libs)
+ include_directories(
+ ${FFMPEG_LIBAVCODEC_INCLUDE_DIRS}
+ ${FFMPEG_LIBAVFORMAT_INCLUDE_DIRS}
+ ${FFMPEG_LIBAVUTIL_INCLUDE_DIRS}
+ )
endif()
add_executable(all_tests ${SRCS} $<TARGET_OBJECTS:chromaprint_objs>)