cmake: Install header files without globbing

Fixes #627

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 0b34ccb9a3b26cd1c5267c6a5c15e9fa1a665adb)
v0.27.3
Andreas Schneider 7 years ago
parent 6062b1b803
commit ed3a0f1341

@ -76,6 +76,7 @@ endif()
include(cmake/compilerFlagsExiv2.cmake REQUIRED)
add_subdirectory( include )
add_subdirectory( src )
if( EXIV2_BUILD_UNIT_TESTS )

@ -0,0 +1 @@
add_subdirectory(exiv2)

@ -0,0 +1,51 @@
install(FILES
asfvideo.hpp
basicio.hpp
bigtiffimage.hpp
bmpimage.hpp
config.h
convert.hpp
cr2image.hpp
crwimage.hpp
datasets.hpp
easyaccess.hpp
epsimage.hpp
error.hpp
exif.hpp
exiv2.hpp
futils.hpp
gifimage.hpp
http.hpp
image.hpp
ini.hpp
iptc.hpp
jp2image.hpp
jpgimage.hpp
matroskavideo.hpp
metadatum.hpp
mrwimage.hpp
orfimage.hpp
pgfimage.hpp
pngimage.hpp
preview.hpp
properties.hpp
psdimage.hpp
quicktimevideo.hpp
rafimage.hpp
riffvideo.hpp
rw2image.hpp
rwlock.hpp
slice.hpp
ssh.hpp
tags.hpp
tgaimage.hpp
tiffimage.hpp
types.hpp
utilsvideo.hpp
value.hpp
version.hpp
webpimage.hpp
xmp_exiv2.hpp
xmpsidecar.hpp
DESTINATION
${CMAKE_INSTALL_INCLUDEDIR}/exiv2)

@ -225,10 +225,6 @@ install(TARGETS exiv2lib EXPORT exiv2Config
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
install(DIRECTORY ../include/exiv2
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
FILES_MATCHING PATTERN "*.h*")
install(FILES
${CMAKE_BINARY_DIR}/exv_conf.h
${CMAKE_BINARY_DIR}/exiv2lib_export.h

Loading…
Cancel
Save