File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -219,19 +219,20 @@ add_executable(brotli ${BROTLI_CLI_C})
219219target_link_libraries (brotli ${BROTLI_LIBRARIES_STATIC} )
220220
221221# Installation
222- if (NOT BROTLI_EMSCRIPTEN)
223222if (NOT BROTLI_BUNDLED_MODE)
224223 install (
225224 TARGETS brotli
226225 RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR} "
227226 )
228227
229- install (
230- TARGETS ${BROTLI_LIBRARIES_CORE}
231- ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR} "
232- LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR} "
233- RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR} "
234- )
228+ if (NOT BROTLI_EMSCRIPTEN)
229+ install (
230+ TARGETS ${BROTLI_LIBRARIES_CORE}
231+ ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR} "
232+ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR} "
233+ RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR} "
234+ )
235+ endif () # BROTLI_EMSCRIPTEN
235236
236237 install (
237238 TARGETS ${BROTLI_LIBRARIES_CORE_STATIC}
@@ -245,7 +246,6 @@ if(NOT BROTLI_BUNDLED_MODE)
245246 DESTINATION "${CMAKE_INSTALL_INCLUDEDIR} "
246247 )
247248endif () # BROTLI_BUNDLED_MODE
248- endif () # BROTLI_EMSCRIPTEN
249249
250250# Tests
251251
You can’t perform that action at this time.
0 commit comments