mirror of
https://github.com/Hizenberg469/OTP-rfc4226-rfc6238-rfc4648.git
synced 2026-04-20 02:12:24 +03:00
15 lines
325 B
CMake
15 lines
325 B
CMake
add_executable(${OTP_EXE}
|
|
"main.c")
|
|
|
|
target_include_directories(${OTP_EXE} PUBLIC
|
|
${HEADER_DIRS})
|
|
|
|
find_package(Threads REQUIRED)
|
|
find_library(POSIX_TIMER_LIBRARY rt)
|
|
|
|
message(${POSIX_TIMER_LIBRARY})
|
|
|
|
target_link_libraries(${OTP_EXE} PUBLIC
|
|
${OTP_LIBRARY}
|
|
${POSIX_TIMER_LIBRARY}
|
|
Threads::Threads) |