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})