Use shared library for vpx on msvc

This commit is contained in:
Benau
2017-04-03 14:32:07 +08:00
parent 6bc935d085
commit 2d4bfa9fb0

View File

@@ -134,7 +134,7 @@ if (UNIX AND NOT APPLE)
pkg_check_modules(VPX vpx)
else()
find_path(VPX_INCLUDEDIR NAMES vpx/vpx_codec.h PATHS "${PROJECT_SOURCE_DIR}/dependencies/include")
find_library(VPX_LIBRARIES NAMES vpxmt libvpx PATHS "${PROJECT_SOURCE_DIR}/dependencies/lib")
find_library(VPX_LIBRARIES NAMES libvpx PATHS "${PROJECT_SOURCE_DIR}/dependencies/lib")
endif()
include_directories(${VPX_INCLUDEDIR})