From 8b4578d787558f905b32b7e105049a9b0f47e36f Mon Sep 17 00:00:00 2001 From: Roman Dementiev Date: Thu, 11 Jul 2024 19:00:26 +0200 Subject: [PATCH] Update CMakeLists.txt --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d149c928..53c899c6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -17,7 +17,7 @@ else() endif() if (LINUX) - if(EXISTS "/etc/os-release" AND IS_READABLE "/etc/os-release") + if(EXISTS "/etc/os-release") # AND IS_READABLE "/etc/os-release" (3.29 cmake required :-( ) file(STRINGS "/etc/os-release" OS_RELEASE_CONTENTS) foreach(LINE ${OS_RELEASE_CONTENTS}) if(LINE MATCHES "^ID=")