diff --git a/CMakeLists.txt b/CMakeLists.txt index 974582b6..aec7a003 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,6 +65,9 @@ if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build." FORCE) endif() +if(WIN32) + set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:C:\gstreamer\1.0\msvc_x86_64\lib\pkgconfig") +endif() if(BUILD_DEPENDENCIES) if(NOT EXISTS ${KINESIS_VIDEO_OPEN_SOURCE_SRC}) @@ -79,7 +82,6 @@ if(BUILD_DEPENDENCIES) set(ENV{PATH} "$ENV{PATH}:${OPEN_SRC_INSTALL_PREFIX}/bin") endif() - message(STATUS "Begin building dependencies.") if(BUILD_LOG4CPLUS_HOST)