rublon-ssh/PAM/ssh/bin/CMakeLists.txt
rublon-bwi 6b9d2f938c
Bwi/v2.1.0 (#15)
* Add phone call authentication method

* Remove dynamic mem allocation from error handler

* Add more error handling code

* Move error handling to different file

* Remove Socket IO dependency

* cleanup in websocket code

* Add rapidjson as cmake dependency

* Added Dockerfiles as primary build system for packages

* Changed policy in CMakeList to work with lower version of CMake

* Fix opensuse builds

* Link filesystem library in gcc 8.5 or older
2024-11-18 12:57:20 +01:00

38 lines
697 B
CMake

add_executable(rublon_application
rublon_application.cpp
)
target_link_libraries(rublon_application
PUBLIC
rublon-ssh-ifc
websockets
-lcurl
-lssl
-lcrypto
)
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS_EQUAL 8.5)
target_link_libraries(rublon_application
PUBLIC
-lstdc++fs
)
endif()
target_include_directories(rublon_application
PUBLIC
SYSTEM ${rapidjson_SOURCE_DIR}/include
)
target_compile_definitions(rublon_application PUBLIC RUBLON_USE_STDOUT)
include(GNUInstallDirs)
install(
TARGETS
rublon_application
DESTINATION
${CMAKE_INSTALL_SBINDIR}
COMPONENT
PAM_APP
)