From f7e04fb0b101e9a025e1f4ed51c4dbb676a90a60 Mon Sep 17 00:00:00 2001 From: john30 Date: Sun, 22 Jan 2017 14:32:25 +0100 Subject: [PATCH] small fixes --- CMakeLists.txt | 4 ++-- config.h.cmake | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c3887693..bb6318e9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ set(PACKAGE_TARNAME ${CMAKE_PROJECT_NAME}) set(PACKAGE_VERSION ${VERSION}) set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") set(PACKAGE_BUGREPORT "ebusd@ebusd.eu") -set(PACKAGE_URL "ebusd@ebusd.eu") +set(PACKAGE_URL "https://github.com/john30/ebusd") set(PACKAGE_PIDFILE "${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/run/${PACKAGE}.pid") set(PACKAGE_LOGFILE "${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/log/${PACKAGE}.log") set(PACKAGE_CONFIGPATH "${CMAKE_INSTALL_FULL_SYSCONFDIR}/${PACKAGE}") @@ -44,8 +44,8 @@ check_include_file(sys/time.h HAVE_SYS_TIME_H) check_include_file(time.h HAVE_TIME_H) check_include_file(termios.h HAVE_TERMIOS_H) +set(CMAKE_REQUIRED_LIBRARIES pthread) check_function_exists(pthread_setname_np HAVE_PTHREAD_SETNAME_NP) -find_library(RTLIB rt) check_function_exists(pselect HAVE_PSELECT) check_function_exists(ppoll HAVE_PPOLL) diff --git a/config.h.cmake b/config.h.cmake index e1635825..08f01b16 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -52,5 +52,5 @@ /* The version of the package formatted for the scan result. */ #cmakedefine SCAN_VERSION "${SCAN_VERSION}" -/* The version of the package */ +/* The version of the package. */ #cmakedefine VERSION "${VERSION}"