From eff7d62249244bcb64ca89cd2e57538f640cb1e8 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 9 Feb 2016 11:26:05 +0000 Subject: Fix setting include variable in the cache --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 1f1126e7b..24f380560 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}") -- cgit v1.2.3