You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmonero/ext/restbed/cmake/modules/Findpam.cmake

14 lines
568 B

# Copyright 2013-2016, Corvusoft Ltd, All Rights Reserved.
find_library( pam_LIBRARY pam HINTS "/usr/lib" "/usr/local/lib" "/opt/local/lib" )
find_path( pam_INCLUDE security/pam_appl.h HINTS "/usr/include" "/usr/local/include" "/opt/local/include" )
if ( pam_INCLUDE AND pam_LIBRARY )
set( PAM_FOUND TRUE )
message( STATUS "${Green}Found PAM include at: ${pam_INCLUDE}${Reset}" )
message( STATUS "${Green}Found PAM library at: ${pam_LIBRARY}${Reset}" )
else ( )
message( STATUS "${Yellow}Failed to locate PAM, skipping example.${Reset}" )
endif ( )