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

Add global install guard #484

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

Add global install guard #484

wants to merge 2 commits into from

Conversation

ZeunO8
Copy link

@ZeunO8 ZeunO8 commented Apr 11, 2024

This PR adds a global EMBREE_INSTALL guard. I believe I have covered all cases of INSTALLs. It defaults to ON and as such the default behavior hasn't changed

I required this as I'm currently packaging my libraries for production and needed to set up each dependency install manually as I have a custom include / lib prefix

Cheers for an awesome library!!

@freibold
Copy link
Contributor

Thanks for the PR. However, can you elaborate a bit more why you need this guard? If you don't call cmake --install then nothing will be installed. Regarding your custom include / lib prefix: Can't you just pass the appropriate CMAKE_INSTALL_BINDIR, CMAKE_INSTALL_LIBDIR, and CMAKE_INSTALL_INCLUDEDIR variables when you build/install Embree?

@ZeunO8
Copy link
Author

ZeunO8 commented Apr 25, 2024

Sure, I need to install my project without installing all of Embrees files. Some files have custom install targets, others I want to skip altogether. Having this guard allows me to disable Embree installing and then I can manually install just the files I need

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