Bind Bliss to MPD.

CMakeLists.txt 612B

12345678910111213141516171819202122232425
  1. cmake_minimum_required (VERSION 2.8)
  2. project (Blissify C)
  3. add_subdirectory (bliss)
  4. file (GLOB COMMON_SRC "src/*.c")
  5. find_package(PkgConfig REQUIRED)
  6. pkg_check_modules(MULTIMEDIA REQUIRED libavformat libavutil libavcodec fftw3)
  7. include_directories(${MULTIMEDIA_INCLUDE_DIRS} include/ bliss/include)
  8. link_directories(${MULTIMEDIA_LIBRARY_DIRS})
  9. add_definitions(${MULTIMEDIA_CFLAGS_OTHER})
  10. add_definitions (-Wall -Wno-long-long -pedantic -std=c99)
  11. add_executable (blissify
  12. ${COMMON_SRC})
  13. target_link_libraries (blissify
  14. m
  15. sqlite3
  16. fftw3
  17. bliss)
  18. install (TARGETS blissify DESTINATION /usr/bin)