[PATCH] Always install executables

https://github.com/google/woff2/pull/106

Gbp-Pq: Name install-executables.patch
This commit is contained in:
Jeremy Bicha 2017-12-07 17:18:05 -05:00 committed by openKylinBot
parent 648ac42ae7
commit 184e3fc32c
1 changed files with 4 additions and 6 deletions

View File

@ -250,12 +250,10 @@ generate_pkg_config ("${CMAKE_CURRENT_BINARY_DIR}/libwoff2enc.pc"
LIBRARIES woff2enc)
# Installation
if (NOT BUILD_SHARED_LIBS)
install(
TARGETS woff2_decompress woff2_compress woff2_info
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
)
endif()
install(
TARGETS woff2_decompress woff2_compress woff2_info
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
)
install(
TARGETS woff2common woff2dec woff2enc