2021-01-18 11:00:17 +00:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2023-08-23 13:03:17 +00:00
|
|
|
index 170ce7a..063a137 100644
|
2021-01-18 11:00:17 +00:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2023-08-23 13:03:17 +00:00
|
|
|
@@ -332,11 +332,6 @@ else()
|
2021-01-18 11:00:17 +00:00
|
|
|
if (NOT LSBLK)
|
|
|
|
message(FATAL_ERROR "Unable to locate lsblk (used for disk enumeration)")
|
|
|
|
endif()
|
|
|
|
-
|
2023-08-23 13:03:17 +00:00
|
|
|
- execute_process(COMMAND "${LSBLK}" "--json" OUTPUT_QUIET RESULT_VARIABLE ret)
|
2021-01-18 11:00:17 +00:00
|
|
|
- if (ret EQUAL "1")
|
|
|
|
- message(FATAL_ERROR "util-linux package too old. lsblk does not support --json (used for disk enumeration)")
|
|
|
|
- endif()
|
|
|
|
endif()
|
2023-08-23 13:03:17 +00:00
|
|
|
|
2021-01-18 11:00:17 +00:00
|
|
|
configure_file(
|