From 4d823c0d4a513c6b8dc57394e428d3347a96c351 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 16 Feb 2015 16:29:49 +0000 Subject: [CMake] Install bundled (jpeg, png, zlib) library headers if built (STR #3187). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10581 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- zlib/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'zlib') diff --git a/zlib/CMakeLists.txt b/zlib/CMakeLists.txt index e96080622..b5f47278c 100644 --- a/zlib/CMakeLists.txt +++ b/zlib/CMakeLists.txt @@ -9,6 +9,10 @@ set(ZLIB_SRCS ####################################################################### FL_ADD_LIBRARY(fltk_z STATIC "${ZLIB_SRCS}") +# install the zlib headers +install(FILES zconf.h;zlib.h;zutil.h + DESTINATION ${FLTK_INCLUDEDIR}/FL/images +) ####################################################################### if(OPTION_BUILD_SHARED_LIBS) -- cgit v1.2.3