[cairo] Copy headers to include and include/cairo.

This commit is contained in:
Alexander Täschner 2017-06-08 07:35:33 +02:00
parent c35dd41195
commit 35e574de5d

View File

@ -33,7 +33,7 @@ endif()
vcpkg_install_cmake()
# Copy the appropriate header files.
file(COPY
foreach(FILE
"${SOURCE_PATH}/src/cairo.h"
"${SOURCE_PATH}/src/cairo-deprecated.h"
"${SOURCE_PATH}/src/cairo-features.h"
@ -44,17 +44,10 @@ file(COPY
"${SOURCE_PATH}/cairo-version.h"
"${SOURCE_PATH}/src/cairo-win32.h"
"${SOURCE_PATH}/util/cairo-gobject/cairo-gobject.h"
"${SOURCE_PATH}/src/cairo-ft.h"
DESTINATION
${CURRENT_PACKAGES_DIR}/include
)
file(COPY
"${SOURCE_PATH}/src/cairo-pdf.h"
"${SOURCE_PATH}/src/cairo-svg.h"
DESTINATION
${CURRENT_PACKAGES_DIR}/include/cairo
)
"${SOURCE_PATH}/src/cairo-ft.h")
file(COPY ${FILE} DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(COPY ${FILE} DESTINATION ${CURRENT_PACKAGES_DIR}/include/cairo)
endforeach()
# Handle copyright
file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/cairo)