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