aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorFrédéric Wang <fwang@igalia.com>2016-10-07 22:24:34 +0200
committerFrédéric Wang <fred.wang@free.fr>2016-10-07 22:26:26 +0200
commit89a77a94bbc3faf7a93733f42e07f51d06605deb (patch)
tree997d018a903a6669d46d62debaeb6580ad22cfad /CMakeLists.txt
parenta9f2344f41b739eeaa0ceb8a31cf607fe4e9d166 (diff)
downloadbrotli-89a77a94bbc3faf7a93733f42e07f51d06605deb.zip
brotli-89a77a94bbc3faf7a93733f42e07f51d06605deb.tar.gz
brotli-89a77a94bbc3faf7a93733f42e07f51d06605deb.tar.bz2
Also install the brotli headers when building the shared libraries. #326
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 35137c3..5f142d6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -181,6 +181,7 @@ if(NOT BROTLI_BUNDLED_MODE)
install (TARGETS bro RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
if(BUILD_SHARED_LIBS)
+ install(DIRECTORY include/brotli DESTINATION include)
if(WIN32)
install(TARGETS ${BROTLI_LIBRARIES_CORE} RUNTIME DESTINATION bin)
else()