# # unisex/CMakeLists.txt -- # cmake_minimum_required(VERSION 3.0) project(UNISEX C) find_package(Threads) if(CMAKE_COMPILER_IS_GNUCC) add_definitions(-Wall -Werror --std=c99) endif(CMAKE_COMPILER_IS_GNUCC) add_executable(unisex unisex.c) add_definitions(-DDEBUG) target_link_libraries(unisex ${CMAKE_THREAD_LIBS_INIT})