mirror of
https://github.com/google/brotli.git
synced 2024-11-22 03:30:07 +00:00
Use install directories provided by GNUInstallDirs.
This commit is contained in:
parent
82536d2bae
commit
c41962f0ae
@ -181,10 +181,10 @@ if(NOT BROTLI_BUNDLED_MODE)
|
||||
install (TARGETS bro RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
||||
|
||||
if(WIN32)
|
||||
install(TARGETS ${BROTLI_LIBRARIES_CORE} RUNTIME DESTINATION bin)
|
||||
install(TARGETS ${BROTLI_LIBRARIES_CORE} RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
||||
else()
|
||||
install(TARGETS ${BROTLI_LIBRARIES_CORE} LIBRARY DESTINATION lib)
|
||||
install(DIRECTORY ${BROTLI_INCLUDE_DIRS}/brotli DESTINATION include)
|
||||
install(TARGETS ${BROTLI_LIBRARIES_CORE} LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}")
|
||||
install(DIRECTORY ${BROTLI_INCLUDE_DIRS}/brotli DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
|
||||
endif()
|
||||
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user