Skip to content

Commit

Permalink
Merge pull request #1084 from trofi:brotli-cmake-tweaks
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 589121646
  • Loading branch information
copybara-github committed Dec 8, 2023
2 parents 6ba678a + adac2b0 commit 421be80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
add_definitions(-DOS_MACOSX)
set(CMAKE_MACOS_RPATH TRUE)
set(CMAKE_INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
set(CMAKE_INSTALL_NAME_DIR "${CMAKE_INSTALL_FULL_LIBDIR}")
endif()

if(BROTLI_EMSCRIPTEN)
Expand Down Expand Up @@ -362,11 +362,11 @@ endif() # BROTLI_BUNDLED_MODE

if (BROTLI_BUILD_TOOLS)
install(FILES "docs/brotli.1"
DESTINATION "${SHARE_INSTALL_PREFIX}/man/man1")
DESTINATION "${CMAKE_INSTALL_FULL_MANDIR}/man1")
endif()

install(FILES docs/constants.h.3 docs/decode.h.3 docs/encode.h.3 docs/types.h.3
DESTINATION "${SHARE_INSTALL_PREFIX}/man/man3")
DESTINATION "${CMAKE_INSTALL_FULL_MANDIR}/man3")

if (ENABLE_COVERAGE STREQUAL "yes")
setup_target_for_coverage(coverage test coverage)
Expand Down

0 comments on commit 421be80

Please sign in to comment.