]> source.dussan.org Git - rspamd.git/commitdiff
Fix setting include variable in the cache
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 9 Feb 2016 11:26:05 +0000 (11:26 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 9 Feb 2016 11:26:05 +0000 (11:26 +0000)
CMakeLists.txt

index 1f1126e7be221f89e5bb970be84b58159ed6eae1..24f380560120bc7970cd8afb6d8d4a0c43576d58 100644 (file)
@@ -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}")