@cryptotaxi247 / netdata-1 / commits / e63cc315b

Fix handling of kernel version detection in CMake. (#17514)

Austin S. Hemmelgarn committed Apr 24, 2024 at 14:31 UTC e63cc315b5ef2e86cc8f4ea0feb30fd2e921d1a7
1 file changed +1 -3
packaging/cmake/Modules/NetdataUtil.cmake
+1 -3
@@ -11,9 +11,7 @@ include_guard()
11 # variable HOST_KERNEL_VERSION.
12 function(netdata_detect_host_kernel_version)
13 if(DEFINED HOST_KERNEL_VERSION)
14 - if(NOT DEFINED CACHE HOST_KERNEL_VERSION)
15 - message(STATUS "Using user supplied kernel version (${HOST_KERNEL_VERSION}) instead of detecting it.")
16 - endif()
14 + return()
15 endif()
16
17 message(CHECK_START "Determining host kernel version")