diff options
author | Dominic | 2022-05-01 15:09:01 +0200 |
---|---|---|
committer | Dominic | 2022-05-01 15:09:01 +0200 |
commit | 35e55f9f201a271be948ad7f5be8f28868f36acb (patch) | |
tree | 38fce6e5884c647dfc31ce098f2b008a69f7d97c /0002-cmake-no-exe.patch | |
parent | d886f85dd67bdc11e32468af80d92d4b2907358d (diff) | |
download | aur-mingw-w64-brotli-static.tar.gz |
mingw-w64-brotli-static 1.0.9-1
Diffstat (limited to '0002-cmake-no-exe.patch')
-rw-r--r-- | 0002-cmake-no-exe.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/0002-cmake-no-exe.patch b/0002-cmake-no-exe.patch new file mode 100644 index 000000000000..e436c529b5af --- /dev/null +++ b/0002-cmake-no-exe.patch @@ -0,0 +1,23 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index a2420f1..00ed7fe 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -189,18 +189,9 @@ if(BROTLI_PARENT_DIRECTORY) + set(BROTLI_LIBRARIES "${BROTLI_LIBRARIES}" PARENT_SCOPE) + endif() + +-# Build the brotli executable +-add_executable(brotli ${BROTLI_CLI_C}) +-target_link_libraries(brotli ${BROTLI_LIBRARIES_CORE}) +- + # Installation + if(NOT BROTLI_EMSCRIPTEN) + if(NOT BROTLI_BUNDLED_MODE) +- install( +- TARGETS brotli +- RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" +- ) +- + install( + TARGETS ${BROTLI_LIBRARIES_CORE} + ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" |