[libraw] Rename Module to Config to increase flexibility of install locations

This commit is contained in:
Robert Schumacher 2016-11-29 17:48:32 -08:00
parent 6479147c6e
commit af2b0cab42
2 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
Source: libraw
Version: 0.17.2-1
Version: 0.17.2-2
Build-Depends: libjpeg-turbo
Description: raw image decoder library

View File

@ -46,6 +46,9 @@ else()
file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/raw.dll ${CURRENT_PACKAGES_DIR}/debug/bin/raw.dll)
endif()
# Rename cmake module into a config in order to allow more flexible lookup rules
file(RENAME ${CURRENT_PACKAGES_DIR}/share/libraw/FindLibRaw.cmake ${CURRENT_PACKAGES_DIR}/share/libraw/LibRaw-config.cmake)
# Handle copyright
file(COPY ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/libraw)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/libraw/COPYRIGHT ${CURRENT_PACKAGES_DIR}/share/libraw/copyright)