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