From 3ae03a447842431892873b11bc48e9b08531b714 Mon Sep 17 00:00:00 2001 From: Alexander B Date: Sat, 5 Oct 2024 12:44:13 +0300 Subject: [PATCH] fix configure errors --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bb7a7e5..82d612b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,9 +27,9 @@ endif() set(CATCH_LIBS_ALIASES Catch2::Catch2 Catch2::Catch2WithMain) function(get_linux_lsb_release_information) - execute_process(COMMAND cat /etc/*release | grep ^ID | cut -d'=' -f 2 OUTPUT_VARIABLE LSB_RELEASE_ID_SHORT OUTPUT_STRIP_TRAILING_WHITESPACE) - execute_process(COMMAND cat /etc/*release | grep ^VERSION_ID | cut -d'=' -f 2 OUTPUT_VARIABLE LSB_RELEASE_VERSION_SHORT OUTPUT_STRIP_TRAILING_WHITESPACE) - execute_process(COMMAND cat /etc/*release | grep ^VERSION_CODENAME | cut -d'=' -f 2 OUTPUT_VARIABLE LSB_RELEASE_CODENAME_SHORT OUTPUT_STRIP_TRAILING_WHITESPACE) + execute_process(COMMAND "cat /etc/*release | grep ^ID | cut -d'=' -f 2" OUTPUT_VARIABLE LSB_RELEASE_ID_SHORT OUTPUT_STRIP_TRAILING_WHITESPACE) + execute_process(COMMAND "cat /etc/*release | grep ^VERSION_ID | cut -d'=' -f 2" OUTPUT_VARIABLE LSB_RELEASE_VERSION_SHORT OUTPUT_STRIP_TRAILING_WHITESPACE) + execute_process(COMMAND "cat /etc/*release | grep ^VERSION_CODENAME | cut -d'=' -f 2" OUTPUT_VARIABLE LSB_RELEASE_CODENAME_SHORT OUTPUT_STRIP_TRAILING_WHITESPACE) set(LSB_RELEASE_ID_SHORT "${LSB_RELEASE_ID_SHORT}" PARENT_SCOPE) set(LSB_RELEASE_VERSION_SHORT "${LSB_RELEASE_VERSION_SHORT}" PARENT_SCOPE)