diff --git a/CMakeLists.txt b/CMakeLists.txt index bcec44ec7ad..8b2531c6389 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) execute_process(COMMAND "modinfo" "vkms") -execute_process(COMMAND "modprobe" "vkms") +execute_process(COMMAND "modprobe" "vkms" COMMAND_ERROR_IS_FATAL ANY) set(MIR_VERSION_MAJOR 2) set(MIR_VERSION_MINOR 18)