Fix Windows build with cmake 3.17.0

parent 5f80bc77
......@@ -8,6 +8,11 @@
find_package(PkgConfig QUIET)
pkg_check_modules(PC_MLT mlt++)
# Workaround cmake 3.17 issue (dropped .dll extension for library search)
if(WIN32)
list(INSERT CMAKE_FIND_LIBRARY_SUFFIXES 0 .dll)
endif()
find_path(MLT_INCLUDE_DIR
NAMES framework/mlt.h
HINTS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment