aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/ffmpeg/CMakeLists.txt
diff options
context:
space:
mode:
authorFneufneu <mickael.maillot@gmail.com>2016-07-07 18:16:25 +0200
committerFneufneu <mickael.maillot@gmail.com>2016-07-09 17:54:52 +0200
commit810895469a621c2eb25dbb2ef4aba75ecf067c8b (patch)
treeb4925a21249fba46ba7850f32d907209b8b04778 /tools/depends/target/ffmpeg/CMakeLists.txt
parent28e905b420f89d7ea8a1dea8e43a3746d443f3a9 (diff)
[cmake] do not hardcode make command
use CMAKE_MAKE_PROGRAM variable to fix FreeBSD build
Diffstat (limited to 'tools/depends/target/ffmpeg/CMakeLists.txt')
-rw-r--r--tools/depends/target/ffmpeg/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depends/target/ffmpeg/CMakeLists.txt b/tools/depends/target/ffmpeg/CMakeLists.txt
index 87d68ecbc0..9e83bf2f96 100644
--- a/tools/depends/target/ffmpeg/CMakeLists.txt
+++ b/tools/depends/target/ffmpeg/CMakeLists.txt
@@ -82,7 +82,7 @@ externalproject_add(ffmpeg
--enable-encoder=png
--enable-encoder=mjpeg
${ffmpeg_conf}
- BUILD_COMMAND make ${PARALLEL_FLAGS})
+ BUILD_COMMAND ${CMAKE_MAKE_PROGRAM} ${PARALLEL_FLAGS})
install(CODE "Message(Done)")