Skip to content

Commit

Permalink
CMake: Install public headers
Browse files Browse the repository at this point in the history
  • Loading branch information
piponazo committed Nov 16, 2018
1 parent 8e5ee7a commit ee28e8a
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,15 @@ install(TARGETS exiv2lib EXPORT exiv2Config
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
install(FILES ${LIBEXIV2_HDR}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/exiv2
)

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
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/exiv2)

install(EXPORT exiv2Config DESTINATION "share/exiv2/cmake")

Expand Down

0 comments on commit ee28e8a

Please sign in to comment.