File CMakeLists.txt of Package tmpwatch

# Cmake build script for tmpwatch
# Author : Cristian Rodriguez <crrodriguez@suse.de>
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.


PROJECT(tmpwatch C)
SET(CMAKE_VERBOSE_MAKEFILE ON)
SET(TMPWATCH_VERSION 2.9.13)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -W -Wall -DVERSION=\\\"${TMPWATCH_VERSION}\\\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE") 
ADD_EXECUTABLE(tmpwatch tmpwatch.c)
INSTALL(PROGRAMS tmpwatch DESTINATION sbin)
INSTALL(FILES    tmpwatch.8 DESTINATION share/man/man8)
openSUSE Build Service is sponsored by