commit | 532921b8c8516912b928beb690404dafb032f904 | [log] [tgz] |
---|---|---|
author | Eugene Kliuchnikov <eustas@google.com> | Tue Aug 23 15:35:54 2016 +0200 |
committer | Eugene Kliuchnikov <eustas@google.com> | Tue Aug 23 15:35:54 2016 +0200 |
tree | c35072963dfb11fa47c2332a5b144b494c996740 | |
parent | 3dcc3c02d0c4b89395788c1608497404d09df695 [diff] [blame] |
Fix CMake includes.
diff --git a/CMakeLists.txt b/CMakeLists.txt index 924b7a4..6b7e5d9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -129,6 +129,9 @@ 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})