From f336cb63cfaf997f5b258867e85ffe13005d49f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Wed, 9 Aug 2017 12:07:35 +0300 Subject: [PATCH] Fix FindPam.cmake The variables weren't set the into the variable cache for some reason. --- cmake/FindPAM.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/FindPAM.cmake b/cmake/FindPAM.cmake index 056b9d323..178ac40fa 100644 --- a/cmake/FindPAM.cmake +++ b/cmake/FindPAM.cmake @@ -10,10 +10,10 @@ find_library(PAM_LIBRARIES NAMES pam) message(STATUS "Found PAM include dirs: ${PAM_INCLUDE_DIR}") if (PAM_INCLUDE_DIR AND PAM_LIBRARIES) message(STATUS "Found PAM: ${PAM_LIBRARIES}") - set(PAM_FOUND TRUE BOOL) + set(PAM_FOUND TRUE CACHE INTERNAL "") else() message(STATUS "PAM libraries not found") - set(PAM_FOUND FALSE BOOL) + set(PAM_FOUND FALSE CACHE INTERNAL "") endif()