diff --git a/recipe/build.sh b/recipe/build.sh index fc378e3..c5db3fe 100644 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -18,3 +18,7 @@ make install if [[ "$CONDA_BUILD_CROSS_COMPILATION" != "1" ]]; then make check || { cat "${SRC_DIR}/test/test-suite.log"; exit 1; } fi + +# Copy janssonConfig.cmake into the package +mkdir -p ${PREFIX}/lib/cmake/jansson +cp "${RECIPE_DIR}/janssonConfig.cmake" "${PREFIX}/lib/cmake/jansson/janssonConfig.cmake" \ No newline at end of file diff --git a/recipe/meta.yaml b/recipe/meta.yaml index cd6b12c..968c677 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -9,7 +9,7 @@ source: sha256: 979210eaffdffbcf54cfc34d047fccde13f21b529a381df26db871d886f729a4 build: - number: 1 + number: 2 run_exports: - {{ pin_subpackage('jansson', max_pin='x') }}