diff options
author | Eugene Kliuchnikov <eustas@google.com> | 2016-08-23 15:35:54 +0200 |
---|---|---|
committer | Eugene Kliuchnikov <eustas@google.com> | 2016-08-23 15:35:54 +0200 |
commit | 532921b8c8516912b928beb690404dafb032f904 (patch) | |
tree | c35072963dfb11fa47c2332a5b144b494c996740 /CMakeLists.txt | |
parent | 3dcc3c02d0c4b89395788c1608497404d09df695 (diff) | |
download | brotli-532921b8c8516912b928beb690404dafb032f904.zip brotli-532921b8c8516912b928beb690404dafb032f904.tar.gz brotli-532921b8c8516912b928beb690404dafb032f904.tar.bz2 |
Fix CMake includes.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 924b7a4..6b7e5d9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) |