aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorFrédéric Wang <fwang@igalia.com>2016-10-07 22:50:47 +0200
committerFrédéric Wang <fred.wang@free.fr>2016-10-07 22:52:02 +0200
commit93933405d35fdc8efbad4c7331b37505f947d430 (patch)
tree1492ec7b360e7eca86af6cd34c4ea7a9725173c0 /CMakeLists.txt
parent89a77a94bbc3faf7a93733f42e07f51d06605deb (diff)
downloadbrotli-93933405d35fdc8efbad4c7331b37505f947d430.zip
brotli-93933405d35fdc8efbad4c7331b37505f947d430.tar.gz
brotli-93933405d35fdc8efbad4c7331b37505f947d430.tar.bz2
Actually use BROTLI_INCLUDE_DIRS to get the path to headers.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5f142d6..a05b7d1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -181,7 +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)
+ install(DIRECTORY ${BROTLI_INCLUDE_DIRS}/brotli DESTINATION include)
if(WIN32)
install(TARGETS ${BROTLI_LIBRARIES_CORE} RUNTIME DESTINATION bin)
else()