# # psum/CMakeLists.txt -- # cmake_minimum_required(VERSION 2.6) project(PSUM-MUTEX C) find_package(Threads) if(CMAKE_COMPILER_IS_GNUCC) add_definitions(-Wall -Werror --std=c99) endif(CMAKE_COMPILER_IS_GNUCC) add_executable(psum-mutex psum-mutex.c) target_link_libraries(psum-mutex ${CMAKE_THREAD_LIBS_INIT})