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

Fixed the issue that caused CMake to look for non-existent path after being installed #213

Merged

Conversation

unexploredtest
Copy link
Contributor

$<INSTALL_INTERFACE:single_include> in src/CMakeLists.txt causes CMake to look for a non-existent(#212 ), this PR gets back to the approach that was used before, and also temporarily adding the existent approach to Android because apparently, it faces issues when include directories aren't included explicitly.

Copy link
Member

@axsaucedo axsaucedo left a comment

Choose a reason for hiding this comment

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

Nice one - I've added a simple comment but we should be able to merge after that

# To build the Android example without installing Vulkan Kompute,
# We need to specify the paths for include directories directly
# NOTE: This is a temporary fix
if(KOMPUTE_OPT_ANDOID_BUILD)
Copy link
Member

Choose a reason for hiding this comment

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

Just noticed there is a typo on this flag, but it seems it's correct - I think for now may be worth just removing for now and we can add this guard as separate commit.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure

@unexploredtest
Copy link
Contributor Author

Done

@axsaucedo
Copy link
Member

Nice one - lgtm

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