From b6a017492e591e32c9d7571bc7cdba6291798460 Mon Sep 17 00:00:00 2001 From: Eugene Kliuchnikov Date: Wed, 20 Sep 2017 10:04:06 +0200 Subject: Install static libraries as well (#601) --- CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 150f44b..fcd0e96 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -214,6 +214,13 @@ if(NOT BROTLI_BUNDLED_MODE) ) install( + TARGETS ${BROTLI_LIBRARIES_CORE_STATIC} + ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" + LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" + RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" + ) + + install( DIRECTORY ${BROTLI_INCLUDE_DIRS}/brotli DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" ) @@ -260,7 +267,7 @@ if(NOT BROTLI_DISABLE_TESTS) -DBROTLI_CLI=$ -DQUALITY=${quality} -DINPUT=${INPUT_FILE} - -DOUTPUT=${OUTPUT_FILE}.${quality} + -DOUTPUT=${OUTPUT_FILE}.${quality} -P ${CMAKE_CURRENT_SOURCE_DIR}/tests/run-roundtrip-test.cmake) endforeach() endforeach() -- cgit v1.1