aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorEugene Kliuchnikov <eustas@google.com>2016-10-17 14:20:40 +0200
committerGitHub <noreply@github.com>2016-10-17 14:20:40 +0200
commitbc658c2501099f6791d8aeb6fe3b648842e2fb0a (patch)
tree99f008eb045973bbe9bbd40a6083eef169bf6a1c /CMakeLists.txt
parent54dc9b0cf1eb996acf2925ca98121184170199a4 (diff)
parent1c7776605dc4c16f24e97764ebad7f7911ea4df1 (diff)
downloadbrotli-bc658c2501099f6791d8aeb6fe3b648842e2fb0a.zip
brotli-bc658c2501099f6791d8aeb6fe3b648842e2fb0a.tar.gz
brotli-bc658c2501099f6791d8aeb6fe3b648842e2fb0a.tar.bz2
Merge pull request #440 from fred-wang/cmake
CMake: Also add ARCHIVE DESTINATION for non-WIN32
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ec41b08..0a15505 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -187,7 +187,10 @@ if(NOT BROTLI_BUNDLED_MODE)
ARCHIVE DESTINATION "${CMAKE_INSTALL_BINDIR}"
)
else()
- install(TARGETS ${BROTLI_LIBRARIES_CORE} LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}")
+ install(TARGETS ${BROTLI_LIBRARIES_CORE}
+ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
+ ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
+ )
install(DIRECTORY ${BROTLI_INCLUDE_DIRS}/brotli DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
endif()