480e2ec6.patch 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. From 480e2ec663ef867e7892dbbc624737cae176c717 Mon Sep 17 00:00:00 2001
  2. From: Dominik Schmidt <dev@dominik-schmidt.de>
  3. Date: Fri, 6 Feb 2015 01:55:40 +0100
  4. Subject: [PATCH] Add LASTFM_LIB_VERSION_SUFFIX to include dir as well
  5. ---
  6. src/CMakeLists.txt | 2 +-
  7. src/fingerprint/CMakeLists.txt | 2 +-
  8. 2 files changed, 2 insertions(+), 2 deletions(-)
  9. diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
  10. index 211ca7e6..0f872fbd 100644
  11. --- a/src/CMakeLists.txt
  12. +++ b/src/CMakeLists.txt
  13. @@ -105,4 +105,4 @@ install(TARGETS ${LASTFM_LIB_TARGET_NAME}
  14. file(GLOB liblastfm_HEADERS ${CMAKE_CURRENT_LIST_DIR}/*.h)
  15. list(APPEND liblastfm_HEADERS ${CMAKE_CURRENT_BINARY_DIR}/global.h)
  16. -install(FILES ${liblastfm_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/lastfm/)
  17. +install(FILES ${liblastfm_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/lastfm${LASTFM_LIB_VERSION_SUFFIX}/)
  18. diff --git a/src/fingerprint/CMakeLists.txt b/src/fingerprint/CMakeLists.txt
  19. index fbc492c3..126f8d90 100644
  20. --- a/src/fingerprint/CMakeLists.txt
  21. +++ b/src/fingerprint/CMakeLists.txt
  22. @@ -48,4 +48,4 @@ install(TARGETS ${FINGERPRINT_LIB_TARGET_NAME}
  23. ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
  24. )
  25. -install(FILES ${lastfm_fingerprint_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/lastfm/)
  26. +install(FILES ${lastfm_fingerprint_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/lastfm${LASTFM_LIB_VERSION_SUFFIX}/)