From c4f6149b0100c14f68e39e51c16a4a59ea86b550 Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Tue, 24 May 2016 11:47:08 -0400 Subject: [PATCH] Add -j1 explicitly when WITH_FFMPEG_JOBS is 1 This would otherwise not override any existing -j parameter from parent make. --- CMake/SetupFfmpeg.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMake/SetupFfmpeg.cmake b/CMake/SetupFfmpeg.cmake index e3e4333446..02fa749dfe 100644 --- a/CMake/SetupFfmpeg.cmake +++ b/CMake/SetupFfmpeg.cmake @@ -53,7 +53,7 @@ endif() list(APPEND SM_FFMPEG_MAKE $(MAKE) ) -if (WITH_FFMPEG_JOBS GREATER 1) +if (WITH_FFMPEG_JOBS GREATER 0) list(APPEND SM_FFMPEG_MAKE "-j${WITH_FFMPEG_JOBS}") endif()