aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorEugene Kliuchnikov <eustas@google.com>2017-09-20 10:04:06 +0200
committerGitHub <noreply@github.com>2017-09-20 10:04:06 +0200
commitb6a017492e591e32c9d7571bc7cdba6291798460 (patch)
tree34bcc61766014155d8c067baf69726730f3aad03 /CMakeLists.txt
parent37fb83ec0dd1c52b6b464bf17515db1aeed846b3 (diff)
downloadbrotli-b6a017492e591e32c9d7571bc7cdba6291798460.zip
brotli-b6a017492e591e32c9d7571bc7cdba6291798460.tar.gz
brotli-b6a017492e591e32c9d7571bc7cdba6291798460.tar.bz2
Install static libraries as well (#601)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
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=$<TARGET_FILE:brotli>
-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()