File tree Expand file tree Collapse file tree 4 files changed +18
-3
lines changed
Expand file tree Collapse file tree 4 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 1313 "MOD_AVFORMAT" : " ON" ,
1414 "MOD_DECKLINK" : " OFF" ,
1515 "MOD_FREI0R" : " OFF" ,
16- "MOD_GDK" : " OFF " ,
16+ "MOD_GDK" : " ON " ,
1717 "MOD_JACKRACK" : " OFF" ,
1818 "USE_LV2" : " OFF" ,
1919 "USE_VST2" : " OFF" ,
Original file line number Diff line number Diff line change @@ -16,7 +16,9 @@ target_compile_options(mltgdk PRIVATE ${MLT_COMPILE_OPTIONS})
1616target_include_directories (mltgdk PRIVATE ${CMAKE_CURRENT_BINARY_DIR} )
1717
1818target_link_libraries (mltgdk PRIVATE mlt Threads::Threads PkgConfig::GdkPixbuf )
19- if (NOT MSVC )
19+ if (MSVC )
20+ target_link_libraries (mltgdk PRIVATE PThreads4W::PThreads4W )
21+ else ()
2022 target_link_libraries (mltgdk PRIVATE m )
2123endif ()
2224
Original file line number Diff line number Diff line change 3737#include <string.h>
3838#include <sys/stat.h>
3939#include <sys/types.h>
40+
41+ #ifndef _MSC_VER
4042#include <unistd.h>
43+ #endif
44+
45+ #ifndef ssize_t
46+ #ifdef _WIN32
47+ #include <BaseTsd.h>
48+ #define ssize_t SSIZE_T
49+ #else
50+ #define ssize_t ptrdiff_t
51+ #endif
52+ #endif
4153
4254// this protects concurrent access to gdk_pixbuf
4355static pthread_mutex_t g_mutex = PTHREAD_MUTEX_INITIALIZER ;
Original file line number Diff line number Diff line change 1212 " qtbase" ,
1313 " qtsvg" ,
1414 " libxml2" ,
15- " libebur128"
15+ " libebur128" ,
16+ " gdk-pixbuf"
1617 ]
1718}
You can’t perform that action at this time.
0 commit comments