diff --git a/CMakeModules/DetectDistro.cmake b/CMakeModules/DetectDistro.cmake index 99e82a0e3..5f81a4b71 100644 --- a/CMakeModules/DetectDistro.cmake +++ b/CMakeModules/DetectDistro.cmake @@ -4,7 +4,7 @@ message(STATUS "System is: ${CMAKE_SYSTEM_NAME}") if(CMAKE_SYSTEM_NAME MATCHES "Linux") # Detect Linux distribution (if possible) - execute_process(COMMAND "/usr/bin/lsb-release" "-is" + execute_process(COMMAND "/usr/bin/lsb_release" "-is" TIMEOUT 4 OUTPUT_VARIABLE LINUX_DISTRO ERROR_QUIET