libmv-capi-sys 0.1.2

Unsafe FFI bindings for libmv, Blender's motion-tracking library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
PROJECT(pthread)

INCLUDE_DIRECTORIES(include)

# TODO(keir): This doesn't work for some reason.
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4996")

# This will build pthread.dll, which you probably want to put in
# $ENV{SystemRoot}\system. Unfortunately, statically linking doesn't work well
# because then you have to manually initialize the pthreads library (which
# normally happens via DLL import hooks).
ADD_LIBRARY(pthread SHARED src/pthread.c)
TARGET_LINK_LIBRARIES(pthread ws2_32)

LIBMV_INSTALL_THIRD_PARTY_LIB(pthread)