
Divided functionality into classes, fixed comments + various other cleanup. BackenAuth no longer increments sequence on sending password. SQLite busy timeout shortened to 1 second.
9 lines
267 B
CMake
9 lines
267 B
CMake
find_package(PAM)
|
|
if (PAM_FOUND AND SQLITE_FOUND)
|
|
include_directories(${SQLITE_INCLUDE_DIR})
|
|
add_subdirectory(PAMAuth)
|
|
add_subdirectory(PAMBackendAuth)
|
|
else()
|
|
message(STATUS "No PAM libraries or SQLite found, not building PAM authenticator.")
|
|
endif()
|