1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 11:19:18 +01:00

Fix linking to chromaprint on Windows

(cherry picked from commit 6f3df9bd5f)
This commit is contained in:
David Sansome 2012-01-07 17:29:35 +00:00
parent 5e231caf3e
commit a4944a83dd

View File

@ -361,6 +361,10 @@ if(NOT CHROMAPRINT_FOUND)
add_subdirectory(3rdparty/chromaprint)
set(CHROMAPRINT_LIBRARIES chromaprint_p)
set(CHROMAPRINT_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/3rdparty/chromaprint/src)
if(WIN32)
add_definitions(-DCHROMAPRINT_NODLL)
endif(WIN32)
endif(NOT CHROMAPRINT_FOUND)
# Subdirectories