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=")