Fix linking to chromaprint on Windows

This commit is contained in:
David Sansome 2012-01-07 17:29:35 +00:00
parent ae8ac239bf
commit 6f3df9bd5f
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