# # ietf-cookie-break/CMakeLists.txt -- # cmake_minimum_required(VERSION 2.6) project(IETF-COOKIE-BREAK C) INCLUDE(FindThreads) add_executable(ietf-cookie-break ietf-cookie-break.c) add_definitions(-DDEBUG) target_link_libraries(ietf-cookie-break ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries(ietf-cookie-break -lrt) set_property(SOURCE ietf-cookie-break.c APPEND PROPERTY COMPILE_FLAGS "--std=c99 -Wall")