From 12344921d33f4345ed38c92f3c9c32e63770effd Mon Sep 17 00:00:00 2001 From: Stefan Kieszkowski <85728496+stefankiesz@users.noreply.github.com> Date: Fri, 12 Apr 2024 00:56:36 -0700 Subject: [PATCH] add gstreamer's pkg config path --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)