Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdl_image: Fix static builds for mingw #26527

Merged
merged 1 commit into from
Feb 5, 2025
Merged

Conversation

AbrilRBS
Copy link
Member

@AbrilRBS AbrilRBS commented Feb 4, 2025

Summary

Changes to recipe: sdl_image/[*]

Motivation

Fix for #26522

The library has tons of improvements, but that can be tackled in a follow-up PR to keep this diff clear

Details

Only in msvc is the name changed

From sdl_image's CMakeLists, for the static case:

 if(MSVC OR (WATCOM AND (WIN32 OR OS2)))
    set_target_properties(SDL2_image PROPERTIES
        OUTPUT_NAME "SDL2_image-static"
    )
 endif()

@AbrilRBS
Copy link
Member Author

AbrilRBS commented Feb 4, 2025

Mingw logs:

-------- Installing package sdl_image/2.8.2 (15 of 15) --------
sdl_image/2.8.2: Building from source
sdl_image/2.8.2: Package sdl_image/2.8.2:01edc298dfe118c999961ebc2ee3e2ab6fcde62f
sdl_image/2.8.2: Copying sources to build folder
sdl_image/2.8.2: Building your package in C:\Users\abril\.conan2\p\b\sdl_ief7501e3ee768\b
sdl_image/2.8.2: Calling generate()
sdl_image/2.8.2: Generators folder: C:\Users\abril\.conan2\p\b\sdl_ief7501e3ee768\b\build\Debug\generators
sdl_image/2.8.2: CMakeToolchain generated: conan_toolchain.cmake
sdl_image/2.8.2: CMakeToolchain generated: C:\Users\abril\.conan2\p\b\sdl_ief7501e3ee768\b\build\Debug\generators\CMakePresets.json
sdl_image/2.8.2: CMakeToolchain generated: C:\Users\abril\.conan2\p\b\sdl_ief7501e3ee768\b\src\CMakeUserPresets.json
sdl_image/2.8.2: CMakeDeps necessary find_package() and targets for your CMakeLists.txt
    find_package(SDL2)
    find_package(TIFF)
    find_package(JPEG)
    find_package(PNG)
    find_package(WebP)
    target_link_libraries(... SDL2::SDL2main TIFF::TIFF JPEG::JPEG PNG::PNG libwebp::libwebp)
sdl_image/2.8.2: Generating aggregated env files
sdl_image/2.8.2: Generated aggregated env files: ['conanbuild.bat', 'conanrun.bat']
sdl_image/2.8.2: Calling build()
sdl_image/2.8.2: Running CMake.configure()
sdl_image/2.8.2: RUN: cmake -G "MinGW Makefiles" -DCMAKE_TOOLCHAIN_FILE="generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/Users/abril/.conan2/p/b/sdl_ief7501e3ee768/p" -DCMAKE_SH="CMAKE_SH-NOTFOUND" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "C:/Users/abril/.conan2/p/b/sdl_ief7501e3ee768/b/src"
-- Using Conan toolchain: C:/Users/abril/.conan2/p/b/sdl_ief7501e3ee768/b/build/Debug/generators/conan_toolchain.cmake
-- Conan toolchain: Defining architecture flag: -m64
-- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF
-- The C compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Users/abril/.conan2/p/b/mingw90a19a17bbfa1/p/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring SDL2_image 2.8.2
-- SDL2_image: Using system libtiff
-- Conan: Target declared 'TIFF::TIFF'
-- Conan: Component target declared 'libdeflate::libdeflate_static'
-- Conan: Target declared 'LibLZMA::LibLZMA'
-- Conan: Including build module from 'C:/Users/abril/.conan2/p/b/xz_utedfdbea2433ce/p/lib/cmake/conan-official-xz_utils-variables.cmake'
-- Conan: Target declared 'jbig::jbig'
-- Conan: Component target declared 'zstd::libzstd_static'
-- Conan: Target declared 'lerc::lerc'
-- Conan: Target declared 'JPEG::JPEG'
-- Conan: Target declared 'ZLIB::ZLIB'
-- Conan: Component target declared 'WebP::webpdecoder'
-- Conan: Component target declared 'WebP::sharpyuv'
-- Conan: Component target declared 'WebP::webp'
-- Conan: Component target declared 'WebP::webpdemux'
-- Conan: Component target declared 'WebP::libwebpmux'
-- Conan: Target declared 'libwebp::libwebp'
-- SDL2_image: Using system libwebp
-- Configuring done (0.6s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_SH


-- Build files have been written to: C:/Users/abril/.conan2/p/b/sdl_ief7501e3ee768/b/build/Debug

sdl_image/2.8.2: Running CMake.build()
sdl_image/2.8.2: RUN: cmake --build "C:\Users\abril\.conan2\p\b\sdl_ief7501e3ee768\b\build\Debug" -- -j4
[  4%] Building C object CMakeFiles/SDL2_image.dir/src/IMG.c.obj[  9%]
Building C object CMakeFiles/SDL2_image.dir/src/IMG_WIC.c.obj
[ 14%] Building C object CMakeFiles/SDL2_image.dir/src/IMG_avif.c.obj[ 19%]
Building C object CMakeFiles/SDL2_image.dir/src/IMG_bmp.c.obj
[ 23%] Building C object CMakeFiles/SDL2_image.dir/src/IMG_gif.c.obj
[ 28%] Building C object CMakeFiles/SDL2_image.dir/src/IMG_jpg.c.obj
[ 33%] Building C object CMakeFiles/SDL2_image.dir/src/IMG_jxl.c.obj[ 38%]
Building C object CMakeFiles/SDL2_image.dir/src/IMG_lbm.c.obj
[ 42%] Building C object CMakeFiles/SDL2_image.dir/src/IMG_pcx.c.obj
[ 47%] Building C object CMakeFiles/SDL2_image.dir/src/IMG_png.c.obj
[ 52%] Building C object CMakeFiles/SDL2_image.dir/src/IMG_pnm.c.obj
[ 57%] Building C object CMakeFiles/SDL2_image.dir/src/IMG_qoi.c.obj
[ 61%] Building C object CMakeFiles/SDL2_image.dir/src/IMG_stb.c.obj
[ 66%] Building C object CMakeFiles/SDL2_image.dir/src/IMG_svg.c.obj
[ 71%] Building C object CMakeFiles/SDL2_image.dir/src/IMG_tga.c.obj
[ 76%] Building C object CMakeFiles/SDL2_image.dir/src/IMG_tif.c.obj
[ 80%] Building C object CMakeFiles/SDL2_image.dir/src/IMG_webp.c.obj
[ 85%] Building C object CMakeFiles/SDL2_image.dir/src/IMG_xcf.c.obj
[ 90%] Building C object CMakeFiles/SDL2_image.dir/src/IMG_xpm.c.obj
[ 95%] Building C object CMakeFiles/SDL2_image.dir/src/IMG_xv.c.obj
[100%] Linking C static library libSDL2_imaged.a
[100%] Built target SDL2_image

sdl_image/2.8.2: Package '01edc298dfe118c999961ebc2ee3e2ab6fcde62f' built
sdl_image/2.8.2: Build folder C:\Users\abril\.conan2\p\b\sdl_ief7501e3ee768\b\build\Debug
sdl_image/2.8.2: Generating the package
sdl_image/2.8.2: Packaging in folder C:\Users\abril\.conan2\p\b\sdl_ief7501e3ee768\p
sdl_image/2.8.2: Calling package()
sdl_image/2.8.2: Running CMake.install()
sdl_image/2.8.2: RUN: cmake --install "C:\Users\abril\.conan2\p\b\sdl_ief7501e3ee768\b\build\Debug" --prefix "C:/Users/abril/.conan2/p/b/sdl_ief7501e3ee768/p"
-- Install configuration: "Debug"
-- Installing: C:/Users/abril/.conan2/p/b/sdl_ief7501e3ee768/p/lib/libSDL2_imaged.a
-- Installing: C:/Users/abril/.conan2/p/b/sdl_ief7501e3ee768/p/include/SDL2/SDL_image.h
-- Installing: C:/Users/abril/.conan2/p/b/sdl_ief7501e3ee768/p/lib/cmake/SDL2_image/SDL2_imageConfig.cmake
-- Installing: C:/Users/abril/.conan2/p/b/sdl_ief7501e3ee768/p/lib/cmake/SDL2_image/SDL2_imageConfigVersion.cmake
-- Installing: C:/Users/abril/.conan2/p/b/sdl_ief7501e3ee768/p/lib/cmake/SDL2_image/Findlibjxl.cmake
-- Installing: C:/Users/abril/.conan2/p/b/sdl_ief7501e3ee768/p/lib/cmake/SDL2_image/Findwebp.cmake
-- Installing: C:/Users/abril/.conan2/p/b/sdl_ief7501e3ee768/p/lib/cmake/SDL2_image/SDL2_image-static-targets.cmake
-- Installing: C:/Users/abril/.conan2/p/b/sdl_ief7501e3ee768/p/lib/cmake/SDL2_image/SDL2_image-static-targets-debug.cmake
-- Installing: C:/Users/abril/.conan2/p/b/sdl_ief7501e3ee768/p/lib/pkgconfig/SDL2_image.pc
-- Installing: C:/Users/abril/.conan2/p/b/sdl_ief7501e3ee768/p/share/licenses/SDL2_image/LICENSE.txt

sdl_image/2.8.2: package(): Packaged 1 '.h' file: SDL_image.h
sdl_image/2.8.2: package(): Packaged 1 '.a' file: libSDL2_imaged.a
sdl_image/2.8.2: package(): Packaged 1 '.txt' file: LICENSE.txt
sdl_image/2.8.2: Created package revision fa19d4096f5b6929dc962d36b36f341c
sdl_image/2.8.2: Package '01edc298dfe118c999961ebc2ee3e2ab6fcde62f' created
sdl_image/2.8.2: Full package reference: sdl_image/2.8.2#98ac0561ca1e9df3f26f5979d100f457:01edc298dfe118c999961ebc2ee3e2ab6fcde62f#fa19d4096f5b6929dc962d36b36f341c
sdl_image/2.8.2: Package folder C:\Users\abril\.conan2\p\b\sdl_ief7501e3ee768\p
WARN: deprecated: Usage of deprecated Conan 1.X features that will be removed in Conan 2.X:
WARN: deprecated:     'env_info' used in: mingw-builds/14.2.0, libiconv/1.17, zstd/1.5.5, cmake/3.29.3, jbig/20160605
WARN: deprecated:     'cpp_info.names' used in: libpng/1.6.43, libdeflate/1.19, libwebp/1.3.2, sdl/2.28.3, libjpeg/9e, libiconv/1.17, zstd/1.5.5, zlib/1.3.1, xz_utils/5.4.5
WARN: deprecated:     'cpp_info.build_modules' used in: xz_utils/5.4.5

======== Launching test_package ========

======== Computing dependency graph ========
Graph root
    sdl_image/2.8.2 (test package): Z:\Users\abril\coding\conan-center-index\recipes\sdl_image\all\test_package\conanfile.py
Requirements
    jbig/20160605#2d29fa02aacd76902e0d2cbbc24631ef - Cache
    lerc/4.0.4#aae447e6f08755738ea9b434f62f83dc - Cache
    libdeflate/1.19#3ea74a4549efc14d4b1202dc4bfbf602 - Cache
    libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd - Cache
    libjpeg/9e#3cd27a78643419450ee6d3739514d25c - Cache
    libpng/1.6.43#c219d8f01983bac10c404fc613605eef - Cache
    libtiff/4.6.0#ede7797bae7b64237f883f9a7d49d39c - Cache
    libwebp/1.3.2#52f69c4a31c5cf033fdd9230d77a8e38 - Cache
    sdl/2.28.3#adcfdd48038f4bec45ae23da116149f2 - Cache
    sdl_image/2.8.2#98ac0561ca1e9df3f26f5979d100f457 - Cache
    xz_utils/5.4.5#f4bc8df2286b577e26325fe8ca32658a - Cache
    zlib/1.3.1#e20364c96c45455608a72543f3a53133 - Cache
    zstd/1.5.5#b87dc3b185caa4b122979ac4ae8ef7e8 - Cache
Build requirements
    7zip/19.00#6c39c38a52d3e8271deb7195ccc74fe8 - Cache
    cmake/3.29.3#292a699b66d006bf4c6648608fa7c9e4 - Cache
    lzma_sdk/9.20#f1fe20056422603432563a07b25f2ee3 - Cache
    mingw-builds/14.2.0#705a04086810963f0f8dba1b783e79f7 - Cache
    msys2/cci.latest#f6bb451a181a3f452024ea43ca744061 - Cache

======== Computing necessary packages ========
mingw-builds/14.2.0: WARN: Tool require 'mingw-builds' provides binaries for gcc with options.exception=seh, your profile:host declares settings.compiler.exception=None, please use the same value for both.
mingw-builds/14.2.0: WARN: Tool require 'mingw-builds' provides binaries for gcc with options.exception=seh, your profile:host declares settings.compiler.exception=None, please use the same value for both.
mingw-builds/14.2.0: WARN: Tool require 'mingw-builds' provides binaries for gcc with options.exception=seh, your profile:host declares settings.compiler.exception=None, please use the same value for both.
mingw-builds/14.2.0: WARN: Tool require 'mingw-builds' provides binaries for gcc with options.exception=seh, your profile:host declares settings.compiler.exception=None, please use the same value for both.
mingw-builds/14.2.0: WARN: Tool require 'mingw-builds' provides binaries for gcc with options.exception=seh, your profile:host declares settings.compiler.exception=None, please use the same value for both.
mingw-builds/14.2.0: WARN: Tool require 'mingw-builds' provides binaries for gcc with options.exception=seh, your profile:host declares settings.compiler.exception=None, please use the same value for both.
mingw-builds/14.2.0: WARN: Tool require 'mingw-builds' provides binaries for gcc with options.exception=seh, your profile:host declares settings.compiler.exception=None, please use the same value for both.
mingw-builds/14.2.0: WARN: Tool require 'mingw-builds' provides binaries for gcc with options.exception=seh, your profile:host declares settings.compiler.exception=None, please use the same value for both.
mingw-builds/14.2.0: WARN: Tool require 'mingw-builds' provides binaries for gcc with options.exception=seh, your profile:host declares settings.compiler.exception=None, please use the same value for both.
mingw-builds/14.2.0: WARN: Tool require 'mingw-builds' provides binaries for gcc with options.exception=seh, your profile:host declares settings.compiler.exception=None, please use the same value for both.
mingw-builds/14.2.0: WARN: Tool require 'mingw-builds' provides binaries for gcc with options.exception=seh, your profile:host declares settings.compiler.exception=None, please use the same value for both.
mingw-builds/14.2.0: WARN: Tool require 'mingw-builds' provides binaries for gcc with options.exception=seh, your profile:host declares settings.compiler.exception=None, please use the same value for both.
mingw-builds/14.2.0: WARN: Tool require 'mingw-builds' provides binaries for gcc with options.exception=seh, your profile:host declares settings.compiler.exception=None, please use the same value for both.
mingw-builds/14.2.0: WARN: Tool require 'mingw-builds' provides binaries for gcc with options.exception=seh, your profile:host declares settings.compiler.exception=None, please use the same value for both.
Requirements
    jbig/20160605#2d29fa02aacd76902e0d2cbbc24631ef:8063add650266ece4bc75b5d6ce48c4200bd41a1#7a6f668e1a07c4eeee63635389af1b30 - Cache
    lerc/4.0.4#aae447e6f08755738ea9b434f62f83dc:150610eb6c6e29cbfbb5d09398803e6caeefbd2a#42db3559f4be45e4aa938a5b84ffdd36 - Cache
    libdeflate/1.19#3ea74a4549efc14d4b1202dc4bfbf602:c247be59f477b0d8d2b3ff3cf7cf9391e8602655#1f0a045ef5802aa2aef625f74b10a643 - Cache
    libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd:c247be59f477b0d8d2b3ff3cf7cf9391e8602655#7308e36a8ee05ac54597e2d456fc50c3 - Cache
    libjpeg/9e#3cd27a78643419450ee6d3739514d25c:c247be59f477b0d8d2b3ff3cf7cf9391e8602655#ac60c8b15e0147aa832ac1ab56c3d983 - Cache
    libpng/1.6.43#c219d8f01983bac10c404fc613605eef:4d745c351a7f35a6db892828ffc6db3e287276d0#c12a9d1157bbc54eba6848fce4eca8e8 - Cache
    libtiff/4.6.0#ede7797bae7b64237f883f9a7d49d39c:711f46b5db54bbab73d6f4d6447a92f6bf691fcf#5ac480908b364526b949c373d1015890 - Cache
    libwebp/1.3.2#52f69c4a31c5cf033fdd9230d77a8e38:3c3829844eaafa4620b0e672637191601b8be9ff#9827155e7428194c51c5b993e14ace7e - Cache
    sdl/2.28.3#adcfdd48038f4bec45ae23da116149f2:490f73080d7efbc6be4c4705ee99f5f652471e0c#bde4a9bbd217ead85b289c0aa456bd4a - Cache
    sdl_image/2.8.2#98ac0561ca1e9df3f26f5979d100f457:01edc298dfe118c999961ebc2ee3e2ab6fcde62f#fa19d4096f5b6929dc962d36b36f341c - Cache
    xz_utils/5.4.5#f4bc8df2286b577e26325fe8ca32658a:c247be59f477b0d8d2b3ff3cf7cf9391e8602655#934ee97b1a3f177e2599f90b4b3afa81 - Cache
    zlib/1.3.1#e20364c96c45455608a72543f3a53133:c247be59f477b0d8d2b3ff3cf7cf9391e8602655#b6344dcd97fda4f2983ca86fb7f17cda - Cache
    zstd/1.5.5#b87dc3b185caa4b122979ac4ae8ef7e8:daead05bca4e2433779944f4d0722bee08c6e91b#96466fc481fd48bfaba2d1424e584caa - Cache
Build requirements
    mingw-builds/14.2.0#705a04086810963f0f8dba1b783e79f7:f82b765f5ccc390bb8d409c50689a5c5ab3eb642#08e79cf8cbbfbb72a8a4fd105c76021a - Cache
Skipped binaries
    7zip/19.00, cmake/3.29.3, lzma_sdk/9.20, msys2/cci.latest

======== Installing packages ========
mingw-builds/14.2.0: Already installed! (1 of 14)
mingw-builds/14.2.0: WARN: Tool require 'mingw-builds' provides binaries for gcc with options.exception=seh, your profile:host declares settings.compiler.exception=None, please use the same value for both.
jbig/20160605: Already installed! (2 of 14)
lerc/4.0.4: Already installed! (3 of 14)
libdeflate/1.19: Already installed! (4 of 14)
libiconv/1.17: Already installed! (5 of 14)
libjpeg/9e: Already installed! (6 of 14)
libwebp/1.3.2: Already installed! (7 of 14)
xz_utils/5.4.5: Already installed! (8 of 14)
zlib/1.3.1: Already installed! (9 of 14)
zstd/1.5.5: Already installed! (10 of 14)
libpng/1.6.43: Already installed! (11 of 14)
libtiff/4.6.0: Already installed! (12 of 14)
sdl/2.28.3: Already installed! (13 of 14)
sdl_image/2.8.2: Already installed! (14 of 14)
WARN: deprecated: Usage of deprecated Conan 1.X features that will be removed in Conan 2.X:
WARN: deprecated:     'env_info' used in: jbig/20160605, mingw-builds/14.2.0, libiconv/1.17, zstd/1.5.5
WARN: deprecated:     'cpp_info.names' used in: libpng/1.6.43, libdeflate/1.19, libwebp/1.3.2, sdl/2.28.3, libjpeg/9e, libiconv/1.17, zstd/1.5.5, zlib/1.3.1, xz_utils/5.4.5
WARN: deprecated:     'cpp_info.build_modules' used in: xz_utils/5.4.5

======== Testing the package ========
Removing previously existing 'test_package' build folder: Z:\Users\abril\coding\conan-center-index\recipes\sdl_image\all\test_package\build\gcc-14-x86_64-20-debug
sdl_image/2.8.2 (test package): Test package build: build\gcc-14-x86_64-20-debug
sdl_image/2.8.2 (test package): Test package build folder: Z:\Users\abril\coding\conan-center-index\recipes\sdl_image\all\test_package\build\gcc-14-x86_64-20-debug
sdl_image/2.8.2 (test package): Writing generators to Z:\Users\abril\coding\conan-center-index\recipes\sdl_image\all\test_package\build\gcc-14-x86_64-20-debug\generators
sdl_image/2.8.2 (test package): Generator 'CMakeToolchain' calling 'generate()'
sdl_image/2.8.2 (test package): CMakeToolchain generated: conan_toolchain.cmake
sdl_image/2.8.2 (test package): CMakeToolchain generated: Z:\Users\abril\coding\conan-center-index\recipes\sdl_image\all\test_package\build\gcc-14-x86_64-20-debug\generators\CMakePresets.json
sdl_image/2.8.2 (test package): CMakeToolchain generated: Z:\Users\abril\coding\conan-center-index\recipes\sdl_image\all\test_package\CMakeUserPresets.json
sdl_image/2.8.2 (test package): Generator 'CMakeDeps' calling 'generate()'
sdl_image/2.8.2 (test package): CMakeDeps necessary find_package() and targets for your CMakeLists.txt
    find_package(SDL2_image)
    target_link_libraries(... SDL2_image::SDL2_image)
sdl_image/2.8.2 (test package): Generator 'VirtualRunEnv' calling 'generate()'
sdl_image/2.8.2 (test package): Generating aggregated env files
sdl_image/2.8.2 (test package): Generated aggregated env files: ['conanrun.bat', 'conanbuild.bat']

======== Testing the package: Building ========
sdl_image/2.8.2 (test package): Calling build()
sdl_image/2.8.2 (test package): Running CMake.configure()
sdl_image/2.8.2 (test package): RUN: cmake -G "MinGW Makefiles" -DCMAKE_TOOLCHAIN_FILE="generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="Z:/Users/abril/coding/conan-center-index/recipes/sdl_image/all/test_package" -DCMAKE_SH="CMAKE_SH-NOTFOUND" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "Z:/Users/abril/coding/conan-center-index/recipes/sdl_image/all/test_package"
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Using Conan toolchain: Z:/Users/abril/coding/conan-center-index/recipes/sdl_image/all/test_package/build/gcc-14-x86_64-20-debug/generators/conan_toolchain.cmake
-- Conan toolchain: Defining architecture flag: -m64
-- Conan toolchain: Adding glibcxx compile definition: _GLIBCXX_USE_CXX11_ABI=0
-- Conan toolchain: C++ Standard 20 with extensions OFF
-- The C compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Users/abril/.conan2/p/b/mingw90a19a17bbfa1/p/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Conan: Target declared 'SDL2_image::SDL2_image'
-- Conan: Component target declared 'SDL2::SDL2'
-- Conan: Component target declared 'SDL2::SDL2main'
-- Conan: Target declared 'Iconv::Iconv'
-- Conan: Target declared 'TIFF::TIFF'
-- Conan: Component target declared 'libdeflate::libdeflate_static'
-- Conan: Target declared 'LibLZMA::LibLZMA'
-- Conan: Including build module from 'C:/Users/abril/.conan2/p/b/xz_utedfdbea2433ce/p/lib/cmake/conan-official-xz_utils-variables.cmake'
-- Conan: Target declared 'jbig::jbig'
-- Conan: Component target declared 'zstd::libzstd_static'
-- Conan: Target declared 'lerc::lerc'
-- Conan: Target declared 'JPEG::JPEG'
-- Conan: Target declared 'ZLIB::ZLIB'
-- Conan: Component target declared 'WebP::webpdecoder'
-- Conan: Component target declared 'WebP::sharpyuv'
-- Conan: Component target declared 'WebP::webp'
-- Conan: Component target declared 'WebP::webpdemux'
-- Conan: Component target declared 'WebP::libwebpmux'
-- Conan: Target declared 'libwebp::libwebp'
-- Conan: Target declared 'PNG::PNG'
-- Configuring done (1.0s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_SH


-- Build files have been written to: Z:/Users/abril/coding/conan-center-index/recipes/sdl_image/all/test_package/build/gcc-14-x86_64-20-debug

sdl_image/2.8.2 (test package): Running CMake.build()
sdl_image/2.8.2 (test package): RUN: cmake --build "Z:\Users\abril\coding\conan-center-index\recipes\sdl_image\all\test_package\build\gcc-14-x86_64-20-debug" -- -j4
[ 50%] Building C object CMakeFiles/test_package.dir/test_package.c.obj
[100%] Linking C executable test_package.exe
[100%] Built target test_package


======== Testing the package: Executing test ========
sdl_image/2.8.2 (test package): Running test()

@AbrilRBS AbrilRBS changed the title sdl_image: Fix static builds sdl_image: Fix static builds for mingw Feb 4, 2025
@jcar87 jcar87 merged commit c07b638 into conan-io:master Feb 5, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants