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

cmake --build . --target install not supported #566

Open
Leengit opened this issue Jun 29, 2023 · 0 comments
Open

cmake --build . --target install not supported #566

Leengit opened this issue Jun 29, 2023 · 0 comments

Comments

@Leengit
Copy link

Leengit commented Jun 29, 2023

By default cmake's ExternalProject_Add command assumes that a dependency like ospray will install with a cmake --build . --target install command. This command doesn't work with ospray (at least when using -GNinja), but I request that it should. To get ExternalProject_Add(ospray, ...) to work, I had to instead add a INSTALL_COMMAND cmake --install . parameter and value. While cmake --install . is otherwise a reasonable alternative, it doesn't work with default behavior of ExternalProject_Add(ospray, ...).

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

No branches or pull requests

1 participant