Commit 07c3d7bc authored by Stefan Reif's avatar Stefan Reif

Remove conflicting version information

Build everything with -std=c11.
parent f4d21bb5
......@@ -2,9 +2,7 @@ add_subdirectory(proto)
add_subdirectory(util)
add_executable(sender sender.c)
set_property(TARGET sender PROPERTY C_STANDARD 99)
add_executable(receiver receiver.c)
set_property(TARGET receiver PROPERTY C_STANDARD 99)
target_link_libraries(sender LINK_PUBLIC PRRT UTIL ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries(receiver LINK_PUBLIC PRRT UTIL ${CMAKE_THREAD_LIBS_INIT})
......@@ -19,5 +19,4 @@ add_library(PRRT ../defines.h
stores/packetTimeoutTable.c stores/packetTimeoutTable.h
stores/dataPacketStore.c stores/dataPacketStore.h)
set_property(TARGET PRRT PROPERTY C_STANDARD 99)
target_link_libraries(PRRT rt)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment