It was searching (for some reason) for stdint.h in <prefixes..>/include/ which doesn't exist. It only happenend to work in case msys2-runtime-devel was installed which installs /usr/include/stdint.h. There is no need to check for stdint.h since it's always there anyway, so remove the check.
12 lines
464 B
Diff
12 lines
464 B
Diff
--- VTK-8.1.1/CMake/FindFFMPEG.cmake.orig 2018-09-20 21:20:30.374287300 +0200
|
|
+++ VTK-8.1.1/CMake/FindFFMPEG.cmake 2018-09-20 22:29:52.930584400 +0200
|
|
@@ -113,7 +113,7 @@
|
|
|
|
# Note we don't check FFMPEG_LIBSWSCALE_FOUND, FFMPEG_LIBAVDEVICE_FOUND,
|
|
# and FFMPEG_LIBAVUTIL_FOUND as they are optional.
|
|
-IF (FFMPEG_LIBAVFORMAT_FOUND AND FFMPEG_LIBAVCODEC_FOUND AND STDINT_OK)
|
|
+IF (FFMPEG_LIBAVFORMAT_FOUND AND FFMPEG_LIBAVCODEC_FOUND)
|
|
|
|
SET(FFMPEG_FOUND "YES")
|
|
|