set(CMAKE_C_FLAGS "-std=c99") add_definitions(-fPIC) add_library(timeout STATIC timeout.c timeout-bitops.c)