Skip to content

Conversation

@Treata11
Copy link

No description provided.

@Treata11 Treata11 marked this pull request as ready for review April 25, 2025 19:57
@Treata11
Copy link
Author

Greetings,

In I introduced the required properties for framework generation as described in CMake documentation

I built the project with the following:

cmake -S. -B build_iOS \
-DBUILD_SHARED_LIBS=OFF \
-DBUILD_CODEC=OFF \
-DOPJ_FRAMEWORK=ON \
-DCMAKE_SYSTEM_NAME=iOS

sudo cmake --build build_iOS --target install --config Release

And the framework artifact is created at build_iOS/bin/openjp2.framework with openjpeg.h & opj_config.h as the public headers & also some resources.

@rouault
Copy link
Collaborator

rouault commented Sep 20, 2025

I've tried this PR on Linux and "make install" fails with:

CMake Error at cmake_install.cmake:80 (file):
  file INSTALL cannot find
  "/home/even/openjpeg/openjpeg/build/OpenJPEGTargets.cmake": No such file or
  directory.

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.

2 participants