mirror of
https://github.com/google/brotli.git
synced 2024-11-24 20:40:13 +00:00
Install static libraries as well (#601)
This commit is contained in:
parent
37fb83ec0d
commit
b6a017492e
@ -213,6 +213,13 @@ if(NOT BROTLI_BUNDLED_MODE)
|
|||||||
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
install(
|
||||||
|
TARGETS ${BROTLI_LIBRARIES_CORE_STATIC}
|
||||||
|
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
||||||
|
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
||||||
|
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
||||||
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
DIRECTORY ${BROTLI_INCLUDE_DIRS}/brotli
|
DIRECTORY ${BROTLI_INCLUDE_DIRS}/brotli
|
||||||
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
|
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
|
||||||
@ -260,7 +267,7 @@ if(NOT BROTLI_DISABLE_TESTS)
|
|||||||
-DBROTLI_CLI=$<TARGET_FILE:brotli>
|
-DBROTLI_CLI=$<TARGET_FILE:brotli>
|
||||||
-DQUALITY=${quality}
|
-DQUALITY=${quality}
|
||||||
-DINPUT=${INPUT_FILE}
|
-DINPUT=${INPUT_FILE}
|
||||||
-DOUTPUT=${OUTPUT_FILE}.${quality}
|
-DOUTPUT=${OUTPUT_FILE}.${quality}
|
||||||
-P ${CMAKE_CURRENT_SOURCE_DIR}/tests/run-roundtrip-test.cmake)
|
-P ${CMAKE_CURRENT_SOURCE_DIR}/tests/run-roundtrip-test.cmake)
|
||||||
endforeach()
|
endforeach()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
Loading…
Reference in New Issue
Block a user