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
1 changed files with 4 additions and 0 deletions

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