summaryrefslogtreecommitdiff
path: root/zlib
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2015-02-16 16:29:49 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2015-02-16 16:29:49 +0000
commit4d823c0d4a513c6b8dc57394e428d3347a96c351 (patch)
tree81e1ec17a71b4c75c155bd126de43845e31ba11f /zlib
parent6390a0e09e0a394c2323a65a823886eb91281ba1 (diff)
[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
Diffstat (limited to 'zlib')
-rw-r--r--zlib/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
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)