Clean second pass

This commit is contained in:
emeric
2020-07-06 12:20:40 +02:00
parent 50b0fd1cb8
commit 30a037d5b0
11 changed files with 98 additions and 107 deletions
+3 -2
View File
@@ -20,14 +20,15 @@ target_link_libraries(lmsauth PRIVATE
target_link_libraries(lmsauth PUBLIC
pthread
boost_system
Boost::system
wt
${PAM_LIBRARIES}
)
if (PAM_FOUND)
target_compile_options(lmsauth PRIVATE "-DLMS_SUPPORT_PAM")
target_sources(lmsauth PRIVATE impl/pam/PAM.cpp)
target_include_directories(lmsauth PRIVATE ${PAM_INCLUDE_DIR})
target_link_libraries(lmsauth PRIVATE ${PAM_LIBRARIES})
endif(PAM_FOUND)
install(TARGETS lmsauth DESTINATION lib)