Archived
1
0
Fork 0
This repository has been archived on 2025-03-10. You can view files and clone it, but cannot push or open issues or pull requests.
bastion/bastion/CMakeLists.txt
2019-03-11 16:32:53 +01:00

10 lines
421 B
CMake

include_directories("${bastion_SOURCE_DIR}/termrec/libtty/")
include_directories("${bastion_SOURCE_DIR}/")
file(GLOB_RECURSE SOURCES *.c)
add_executable(bastion ${SOURCES})
add_library(libtty.a STATIC IMPORTED)
set_property(TARGET libtty.a PROPERTY IMPORTED_LOCATION "${bastion_SOURCE_DIR}/libtty.a")
target_link_libraries(bastion libtty.a common)
target_link_libraries(bastion bz2 curl lzma mysqlclient pthread ssh z)