mirror of
https://github.com/kakwa/uts-server
synced 2025-01-07 12:14:31 +01:00
fix CMakeList
This commit is contained in:
parent
963b0bb14b
commit
74202410bf
@ -13,21 +13,24 @@ set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -DUTS_VERSION='\"${VERSION}\"'")
|
|||||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake/")
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake/")
|
||||||
|
|
||||||
find_package(libasyncd REQUIRED)
|
find_package(libasyncd REQUIRED)
|
||||||
|
|
||||||
MESSAGE( STATUS "Find Header Directory for libasyncd: " ${LIBASYNCD_INCLUDE_DIR})
|
MESSAGE( STATUS "Find Header Directory for libasyncd: " ${LIBASYNCD_INCLUDE_DIR})
|
||||||
MESSAGE( STATUS "Find Dynamic Library for libasyncd: " ${LIBASYNCD_LIBRARIES})
|
MESSAGE( STATUS "Find Dynamic Library for libasyncd: " ${LIBASYNCD_LIBRARIES})
|
||||||
|
|
||||||
find_package(OpenSSL REQUIRED)
|
find_package(OpenSSL REQUIRED)
|
||||||
|
|
||||||
MESSAGE( STATUS "OpenSSL include dir: ${OPENSSL_INCLUDE_DIR}")
|
MESSAGE( STATUS "OpenSSL include dir: ${OPENSSL_INCLUDE_DIR}")
|
||||||
MESSAGE( STATUS "OpenSSL libraries: ${OPENSSL_LIBRARIES}")
|
MESSAGE( STATUS "OpenSSL libraries: ${OPENSSL_LIBRARIES}")
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
|
./inc/
|
||||||
${LIBASYNCD_INCLUDE_DIR}
|
${LIBASYNCD_INCLUDE_DIR}
|
||||||
${OPENSSL_INCLUDE_DIR}
|
${OPENSSL_INCLUDE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
add_executable(uts-server src/cmd/uts-server.c)
|
add_executable(uts-server
|
||||||
|
src/cmd/uts-server.c
|
||||||
|
src/lib/rfc3161.c
|
||||||
|
src/lib/utils.c
|
||||||
|
)
|
||||||
|
|
||||||
target_link_libraries(uts-server
|
target_link_libraries(uts-server
|
||||||
${LIBASYNCD_LIBRARIES}
|
${LIBASYNCD_LIBRARIES}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user