aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/ffmpeg/portfile.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/ports/ffmpeg/portfile.cmake b/ports/ffmpeg/portfile.cmake
index a9ad1bb7f..07788c261 100644
--- a/ports/ffmpeg/portfile.cmake
+++ b/ports/ffmpeg/portfile.cmake
@@ -68,6 +68,12 @@ else()
set(OPTIONS "${OPTIONS} --disable-ffmpeg")
endif()
+if("ffmpeg" IN_LIST FEATURES)
+ set(OPTIONS "${OPTIONS} --enable-ffmpeg")
+else()
+ set(OPTIONS "${OPTIONS} --disable-ffmpeg")
+endif()
+
if("ffplay" IN_LIST FEATURES)
set(OPTIONS "${OPTIONS} --enable-ffplay")
else()