# # datehack/CMakeLists.txt -- # cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR) project(DATEHACK C) if(CMAKE_COMPILER_IS_GNUCC) add_definitions(-Wall -Werror) endif(CMAKE_COMPILER_IS_GNUCC) add_library(datehack SHARED datehack.c) target_link_libraries(datehack ${CMAKE_DL_LIBS})