* Remove unused options from rublon default config * Remove safe|secure options * Allow 9 digits long passcode for passcode bypass * Change name of 'Mobile Passcode' to 'Passcode' * Do not display any prompt when user is waiting * remove unused alloca.h header * Add autopushPrompt option * Change name OTP method * Change enrolement message handling * ad static string ctor * Addded postrm script * Rename 01_rublon_ssh.conf to 01-rublon-ssh.conf * restart sshd service after rublon package instalation * Fix sshd not restarting bug on ubuntu 24.04 * disable logging from websocket-io * change package name to match old package name * Fix compilation issue when using non owning ptr * Set version to 2.0.0
55 lines
1.8 KiB
CMake
Executable File
55 lines
1.8 KiB
CMake
Executable File
set(INC
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/rublon/authentication_step_interface.hpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/rublon/configuration.hpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/rublon/core_handler.hpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/rublon/core_handler_interface.hpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/rublon/curl.hpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/rublon/error.hpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/rublon/finish.hpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/rublon/init.hpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/rublon/json.hpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/rublon/method/method_select.hpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/rublon/method/OTP.hpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/rublon/method/SMS.hpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/rublon/method/passcode_based_auth.hpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/rublon/method/websocket_based_auth.hpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/rublon/non_owning_ptr.hpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/rublon/pam_action.hpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/rublon/pam.hpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/rublon/rublon.hpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/rublon/sign.hpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/rublon/utils.hpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include/rublon/websockets.hpp
|
|
)
|
|
|
|
add_library(rublon-ssh-ifc
|
|
INTERFACE
|
|
)
|
|
|
|
if(${CMAKE_VERSION} VERSION_GREATER "3.19.0")
|
|
# need to be here to show up in the IDE
|
|
add_library(rublon-ssh_ide INTERFACE ${INC})
|
|
endif()
|
|
|
|
target_include_directories(rublon-ssh-ifc
|
|
INTERFACE
|
|
extern
|
|
${CMAKE_CURRENT_LIST_DIR}/include
|
|
)
|
|
|
|
install(
|
|
FILES
|
|
${INC}
|
|
DESTINATION
|
|
${CMAKE_INSTALL_INCLUDEDIR}/rublon
|
|
COMPONENT
|
|
PAM-DEV
|
|
)
|
|
|
|
add_subdirectory(lib)
|
|
# add_subdirectory(bin)
|
|
|
|
# if(${ENABLE_TESTS})
|
|
# add_subdirectory(tests)
|
|
# endif()
|