| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/sysutils/plasma5-ksysguard/files/ |
Upload File : |
--- ksysguardd/CMakeLists.txt.orig 2019-06-26 08:37:14 UTC
+++ ksysguardd/CMakeLists.txt
@@ -9,8 +9,8 @@ add_definitions(-DOSTYPE_${CMAKE_SYSTEM_NAME})
set(HAVE_LMSENSORS ${SENSORS_FOUND})
-check_include_files(sys/inotify.h SYS_INOTIFY_H_FOUND)
-set(HAVE_SYS_INOTIFY_H ${SYS_INOTIFY_H_FOUND})
+include_directories(${Inotify_INCLUDE_DIRS})
+set(HAVE_SYS_INOTIFY_H ${Inotify_FOUND})
configure_file(config-ksysguardd.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-ksysguardd.h)
@@ -46,7 +46,7 @@ endif()
add_executable(ksysguardd ${ksysguardd_SRCS})
set_property(TARGET ksysguardd PROPERTY C_STANDARD 11)
- target_link_libraries(ksysguardd libksysguardd)
+ target_link_libraries(ksysguardd libksysguardd ${Inotify_LIBRARIES})
if( ${CMAKE_SYSTEM_NAME} MATCHES "NetBSD" )
message(STATUS "Adding kvm library on NetBSD")