mirror of
https://github.com/google/brotli.git
synced 2024-11-22 03:30:07 +00:00
Also install the libraries and headers when building static libraries.
This commit is contained in:
parent
cd8153a1ed
commit
82536d2bae
@ -180,13 +180,11 @@ if(NOT BROTLI_BUNDLED_MODE)
|
||||
|
||||
install (TARGETS bro RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
||||
|
||||
if(BUILD_SHARED_LIBS)
|
||||
if(WIN32)
|
||||
install(TARGETS ${BROTLI_LIBRARIES_CORE} RUNTIME DESTINATION bin)
|
||||
else()
|
||||
install(TARGETS ${BROTLI_LIBRARIES_CORE} LIBRARY DESTINATION lib)
|
||||
install(DIRECTORY ${BROTLI_INCLUDE_DIRS}/brotli DESTINATION include)
|
||||
endif()
|
||||
if(WIN32)
|
||||
install(TARGETS ${BROTLI_LIBRARIES_CORE} RUNTIME DESTINATION bin)
|
||||
else()
|
||||
install(TARGETS ${BROTLI_LIBRARIES_CORE} LIBRARY DESTINATION lib)
|
||||
install(DIRECTORY ${BROTLI_INCLUDE_DIRS}/brotli DESTINATION include)
|
||||
endif()
|
||||
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user