fsfw/src/fsfw/osal/linux/CMakeLists.txt

30 lines
533 B
CMake
Raw Normal View History

target_sources(${LIB_FSFW_NAME} PRIVATE
2022-05-01 17:48:49 +02:00
Clock.cpp
BinarySemaphore.cpp
CountingSemaphore.cpp
FixedTimeslotTask.cpp
InternalErrorCodes.cpp
MessageQueue.cpp
Mutex.cpp
MutexFactory.cpp
PeriodicPosixTask.cpp
PosixThread.cpp
QueueFactory.cpp
SemaphoreFactory.cpp
TaskFactory.cpp
tcpipHelpers.cpp
unixUtility.cpp
)
2020-12-07 12:59:09 +01:00
2020-12-28 18:06:00 +01:00
find_package(Threads REQUIRED)
2022-05-01 17:48:49 +02:00
target_link_libraries(${LIB_FSFW_NAME} PUBLIC
${CMAKE_THREAD_LIBS_INIT}
)
2020-12-28 18:06:00 +01:00
2022-05-01 17:48:49 +02:00
if(NOT APPLE)
target_link_libraries(${LIB_FSFW_NAME} PUBLIC
rt
)
endif()