From 08122b137e76ffcf7067f634a7668002732e11d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 12 Jun 2015 02:56:58 +0200 Subject: Fix FTBFS on freebsd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- ConfigureChecks.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 5860b88d6..18009f26c 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -50,7 +50,7 @@ if( WITH_PAM AND (BUILD_KCHECKPASS OR BUILD_TDM) ) check_include_file( "security/pam_appl.h" SECURITY_PAM_APPL_H ) endif( ) if( HAVE_PAM AND SECURITY_PAM_APPL_H ) - set( PAM_LIBRARY pam;dl ) + set( PAM_LIBRARY pam ${DL_LIBRARIES} ) else( ) tde_message_fatal( "pam are requested, but not found on your system" ) endif( ) -- cgit v1.2.1