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

Enable static targets #52

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

IsabelParedes
Copy link
Member

@IsabelParedes IsabelParedes commented Jun 17, 2024

When building static libraries only (e.g. emscripten-forge), find_package(xvega REQUIRED) fails because there are no static targets installed.

CMake Error at $PREFIX/lib/cmake/xvega/xvegaConfig.cmake:45 (include):
  include could not find requested file:
    $PREFIX/lib/cmake/xvega/xvegaTargets.cmake

@IsabelParedes IsabelParedes marked this pull request as ready for review June 17, 2024 12:05
Copy link
Member

@JohanMabille JohanMabille left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can take the opportunity to remove this condition (i.e. always install)

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.

None yet

2 participants