From 77265c98933ec3553cc685dc75df7060270a0ca9 Mon Sep 17 00:00:00 2001 From: Essem Date: Mon, 25 Jul 2022 22:09:56 -0500 Subject: [PATCH] maybe this will work better? --- .github/workflows/build.yml | 2 +- CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index db182dc..e07e2c2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -65,6 +65,6 @@ jobs: with: version: 7 - name: Install dependencies - run: brew install imagemagick vips pkg-config + run: brew install imagemagick vips - name: Build run: pnpm install --config.strict-peer-dependencies=false && pnpm run build diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b75420..cf9a555 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,4 +36,5 @@ target_link_libraries(${PROJECT_NAME} ${ImageMagick_LIBRARIES}) pkg_check_modules(VIPS REQUIRED vips-cpp) include_directories(${VIPS_INCLUDE_DIRS}) +link_directories(${VIPS_LIBRARY_DIRS}) target_link_libraries(${PROJECT_NAME} ${VIPS_LIBRARIES})