small fixes
This commit is contained in:
+2
-2
@@ -8,7 +8,7 @@ set(PACKAGE_TARNAME ${CMAKE_PROJECT_NAME})
|
|||||||
set(PACKAGE_VERSION ${VERSION})
|
set(PACKAGE_VERSION ${VERSION})
|
||||||
set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
|
set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
|
||||||
set(PACKAGE_BUGREPORT "ebusd@ebusd.eu")
|
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_PIDFILE "${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/run/${PACKAGE}.pid")
|
||||||
set(PACKAGE_LOGFILE "${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/log/${PACKAGE}.log")
|
set(PACKAGE_LOGFILE "${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/log/${PACKAGE}.log")
|
||||||
set(PACKAGE_CONFIGPATH "${CMAKE_INSTALL_FULL_SYSCONFDIR}/${PACKAGE}")
|
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(time.h HAVE_TIME_H)
|
||||||
check_include_file(termios.h HAVE_TERMIOS_H)
|
check_include_file(termios.h HAVE_TERMIOS_H)
|
||||||
|
|
||||||
|
set(CMAKE_REQUIRED_LIBRARIES pthread)
|
||||||
check_function_exists(pthread_setname_np HAVE_PTHREAD_SETNAME_NP)
|
check_function_exists(pthread_setname_np HAVE_PTHREAD_SETNAME_NP)
|
||||||
find_library(RTLIB rt)
|
|
||||||
|
|
||||||
check_function_exists(pselect HAVE_PSELECT)
|
check_function_exists(pselect HAVE_PSELECT)
|
||||||
check_function_exists(ppoll HAVE_PPOLL)
|
check_function_exists(ppoll HAVE_PPOLL)
|
||||||
|
|||||||
+1
-1
@@ -52,5 +52,5 @@
|
|||||||
/* The version of the package formatted for the scan result. */
|
/* The version of the package formatted for the scan result. */
|
||||||
#cmakedefine SCAN_VERSION "${SCAN_VERSION}"
|
#cmakedefine SCAN_VERSION "${SCAN_VERSION}"
|
||||||
|
|
||||||
/* The version of the package */
|
/* The version of the package. */
|
||||||
#cmakedefine VERSION "${VERSION}"
|
#cmakedefine VERSION "${VERSION}"
|
||||||
|
|||||||
Reference in New Issue
Block a user