Skip to content

Error when building 1.2.0 for iOS #1370

@radarhere

Description

@radarhere

When building 1.2.0, but not 1.1.0, I received an error - https://github.com/radarhere/Pillow/actions/runs/18856549681/job/53805755475#step:5:7929

-- The C compiler identification is AppleClang 17.0.0.17000013
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode_16.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Setting build type to Release as none was specified
-- Performing Test BROTLI_EMSCRIPTEN
-- Compiler is not EMSCRIPTEN
-- Performing Test BROTLI_EMSCRIPTEN - Failed
-- Looking for log2 in m
-- Looking for log2 in m - found
CMake Error at CMakeLists.txt:188 (install):
install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable
target "brotli".

I found a similar error for libtiff at https://gitlab.com/libtiff/libtiff/-/issues/282

the configuration step fails due to the install(TARGETS) command within the libtiff/CMakeLists.txt missing the BUNDLE DESTINATION argument.

The issue suggests a workaround, -DCMAKE_MACOSX_BUNDLE=OFF, which does succeed, but I wondered if you wanted to address this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions