mirror of
https://github.com/google/brotli.git
synced 2024-11-09 21:50:07 +00:00
Unify artifact installation (#544)
This commit is contained in:
parent
0a84e9bf86
commit
2c001010aa
@ -187,22 +187,22 @@ target_link_libraries(bro ${BROTLI_LIBRARIES})
|
|||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
if(NOT BROTLI_BUNDLED_MODE)
|
if(NOT BROTLI_BUNDLED_MODE)
|
||||||
install (TARGETS bro RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
install(
|
||||||
|
TARGETS bro
|
||||||
|
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
||||||
|
)
|
||||||
|
|
||||||
if(WIN32)
|
install(
|
||||||
install(
|
TARGETS ${BROTLI_LIBRARIES_CORE}
|
||||||
TARGETS ${BROTLI_LIBRARIES_CORE}
|
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
||||||
LIBRARY DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
||||||
ARCHIVE DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
||||||
)
|
)
|
||||||
else()
|
|
||||||
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()
|
|
||||||
|
|
||||||
|
install(
|
||||||
|
DIRECTORY ${BROTLI_INCLUDE_DIRS}/brotli
|
||||||
|
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Tests
|
# Tests
|
||||||
|
Loading…
Reference in New Issue
Block a user