Skip to content
This repository
Newer
Older
100644 24 lines (19 sloc) 0.407 kb
2814e264 »
2010-11-04 Improve C-Client building on external systems by detecting SSL and PA…
1 IF(PAM_FOUND)
2 SET(PAM_FIND_QUIETLY TRUE)
3 ENDIF(PAM_FOUND)
4
5 FIND_PATH(PAM_INCLUDE_PATH
6 NAMES pam_modules.h
7 PATH_SUFFIXES security
8 PATHS /usr/include /usr/local/include /usr/pkg/include
9 )
10
11 FIND_LIBRARY(PAM_LIBRARY
12 NAMES pam
13 PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
14 )
15
16 IF (PAM_INCLUDE_PATH AND PAM_LIBRARY)
17 SET(PAM_FOUND TRUE)
18 ENDIF()
19
20 MARK_AS_ADVANCED(
21 PAM_INCLUDE_PATH
22 PAM_LIBRARY
23 )
Something went wrong with that request. Please try again.