mirror of
https://github.com/google/brotli.git
synced 2024-11-09 13:40:06 +00:00
Fix CMake includes.
This commit is contained in:
parent
3dcc3c02d0
commit
532921b8c8
@ -129,6 +129,9 @@ add_library(brotli_enc STATIC
|
||||
enc/static_dict.c
|
||||
enc/utf8_util.c)
|
||||
|
||||
# Older CMake versions does not understand INCLUDE_DIRECTORIES property.
|
||||
include_directories(${BROTLI_INCLUDE_DIRS})
|
||||
|
||||
foreach(lib brotli_common brotli_dec brotli_enc)
|
||||
target_link_libraries(${lib} ${LIBM_LIBRARY})
|
||||
set_property(TARGET ${lib} APPEND PROPERTY INCLUDE_DIRECTORIES ${BROTLI_INCLUDE_DIRS})
|
||||
|
Loading…
Reference in New Issue
Block a user