From: Vsevolod Stakhov Date: Tue, 9 Feb 2016 11:26:05 +0000 (+0000) Subject: Fix setting include variable in the cache X-Git-Tag: 1.2.0~281 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eff7d62249244bcb64ca89cd2e57538f640cb1e8;p=thirdparty%2Frspamd.git Fix setting include variable in the cache --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 1f1126e7be..24f3805601 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -350,7 +350,7 @@ MACRO(ProcessPackage PKG_NAME) ENDIF(ENABLE_STATIC MATCHES "ON") FOREACH(_arg ${${_XPREFIX}_INCLUDE_DIRS}) INCLUDE_DIRECTORIES("${_arg}") - SET(${PKG_NAME}_INCLUDE "${_arg}") + SET(${PKG_NAME}_INCLUDE "${_arg}" CACHE INTERNAL "") ENDFOREACH(_arg ${${_XPREFIX}_INCLUDE_DIRS}) FOREACH(_arg ${${_XPREFIX}_LIBRARY_DIRS}) LINK_DIRECTORIES("${_arg}")