2021-02-05 17:12:51 +00:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2023-10-09 19:29:22 +00:00
|
|
|
index 170ce7a..063a137 100644
|
2021-02-05 17:12:51 +00:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2023-10-09 19:29:22 +00:00
|
|
|
@@ -332,11 +332,6 @@ else()
|
2021-02-05 17:12:51 +00:00
|
|
|
if (NOT LSBLK)
|
|
|
|
message(FATAL_ERROR "Unable to locate lsblk (used for disk enumeration)")
|
|
|
|
endif()
|
|
|
|
-
|
2023-10-09 19:29:22 +00:00
|
|
|
- execute_process(COMMAND "${LSBLK}" "--json" OUTPUT_QUIET RESULT_VARIABLE ret)
|
2021-02-05 17:12:51 +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-10-09 19:29:22 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
configure_file(
|