mirror of
https://github.com/google/brotli.git
synced 2024-11-12 15:10:15 +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}")
|
install (TARGETS bro RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
install(TARGETS ${BROTLI_LIBRARIES_CORE} RUNTIME DESTINATION bin)
|
install(TARGETS ${BROTLI_LIBRARIES_CORE} RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
||||||
else()
|
else()
|
||||||
install(TARGETS ${BROTLI_LIBRARIES_CORE} LIBRARY DESTINATION lib)
|
install(TARGETS ${BROTLI_LIBRARIES_CORE} LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}")
|
||||||
install(DIRECTORY ${BROTLI_INCLUDE_DIRS}/brotli DESTINATION include)
|
install(DIRECTORY ${BROTLI_INCLUDE_DIRS}/brotli DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user