# # cookie-break/CMakeLists.txt -- # cmake_minimum_required(VERSION 3.12) project(IETF-COOKIE-BREAK C) set(CMAKE_C_STANDARD 99) set(CMAKE_C_STANDARD_REQUIRED ON) set(CMAKE_C_EXTENSIONS OFF) if(CMAKE_C_COMPILER_ID MATCHES "Clang|GNU") add_compile_options(-Wall -Wextra -pedantic -Werror) endif() find_package(Threads REQUIRED) add_executable(cookie-break cookie-break.c) add_compile_definitions(DEBUG) target_link_libraries(cookie-break ${CMAKE_THREAD_LIBS_INIT}) target_link_libraries(cookie-break -lrt)