From af7ee06a8193ba42867d1d49d36adbc191ce566f Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Sun, 1 Nov 2020 15:11:14 +0100 Subject: [PATCH] Fix a pkg-config error in some situations --- vst/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/vst/CMakeLists.txt b/vst/CMakeLists.txt index 0ee8cddc..8e765c09 100644 --- a/vst/CMakeLists.txt +++ b/vst/CMakeLists.txt @@ -87,6 +87,7 @@ if(WIN32) elseif(APPLE) target_link_libraries(${VSTPLUGIN_PRJ_NAME} PRIVATE ${APPLE_FOUNDATION_LIBRARY}) else() + find_package(PkgConfig REQUIRED) pkg_check_modules(GLIB REQUIRED glib-2.0) target_include_directories(${VSTPLUGIN_PRJ_NAME} PRIVATE ${GLIB_INCLUDE_DIRS}) target_link_libraries(${VSTPLUGIN_PRJ_NAME} PRIVATE ${GLIB_LIBRARIES})