# # smokers/CMakeLists.txt -- # cmake_minimum_required(VERSION 2.6) project(SMOKERS C) INCLUDE(FindThreads) add_executable(smokers smokers.c) target_link_libraries(smokers ${CMAKE_THREAD_LIBS_INIT}) set_property(SOURCE smokers.c APPEND PROPERTY COMPILE_FLAGS "--std=c99 -Wall")