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.
20 lines
374 B
20 lines
374 B
cmake_minimum_required(VERSION 3.7)
|
|
|
|
set(PAM_LIB_NAME "dp4-login-pam")
|
|
|
|
file(GLOB_RECURSE LIB_SRCS
|
|
"*.h"
|
|
"*.c"
|
|
)
|
|
|
|
add_library(${PAM_LIB_NAME} MODULE
|
|
${LIB_SRCS}
|
|
)
|
|
|
|
set_target_properties(${PAM_LIB_NAME} PROPERTIES PREFIX "")
|
|
|
|
target_link_libraries(${PAM_LIB_NAME} PRIVATE
|
|
-lpam
|
|
)
|
|
|
|
install(TARGETS ${PAM_LIB_NAME} DESTINATION ${CMAKE_INSTALL_LIBDIR}/security)
|
|
|