PageRenderTime 227ms CodeModel.GetById 81ms app.highlight 0ms RepoModel.GetById 100ms app.codeStats 0ms

/thirdparty/liblastfm2/src/fingerprint/CMakeLists.txt

http://github.com/tomahawk-player/tomahawk
CMake | 32 lines | 26 code | 6 blank | 0 comment | 0 complexity | c315b5c15f1e2da55ce623e0c6efa238 MD5 | raw file
 1cmake_minimum_required(VERSION 2.6)
 2
 3include_directories(${LIBFFTW3_INCLUDE_DIRS})
 4include_directories(${LIBSAMPLERATE_INCLUDE_DIRS})
 5include_directories(${QT_INCLUDES})
 6include_directories(${CMAKE_CURRENT_BINARY_DIR}/..)
 7
 8link_directories(${LIBFFTW3_LIBRARY_DIRS})
 9link_directories(${LIBSAMPLERATE_LIBRARY_DIRS})
10
11set(SOURCES
12  Collection.cpp
13  Fingerprint.cpp
14  Sha256.cpp
15  fplib/Filter.cpp
16  fplib/FingerprintExtractor.cpp
17  fplib/OptFFT.cpp
18)
19
20add_library(tomahawk_lastfm2_fingerprint SHARED
21  ${SOURCES}
22)
23
24target_link_libraries(tomahawk_lastfm2_fingerprint
25  ${QT_LIBRARIES}
26  ${QT_QTSQL_LIBRARY}
27  ${LIBFFTW3_LIBRARY}
28  ${LIBSAMPLERATE_LIBRARY}
29  tomahawk_lastfm2
30)
31
32set_target_properties(tomahawk_lastfm2_fingerprint PROPERTIES COMPILE_FLAGS "-DLASTFM_FINGERPRINT_OHAI_QMAKE"  )