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

Fix bug in CMake function (#7604) #7611

Closed
wants to merge 1 commit into from

Conversation

abalasa
Copy link
Contributor

@abalasa abalasa commented Jun 30, 2023

Ignore missing directory in xrt_add_subdirectory.

xrt_add_subdirectory is used to conditionally exclude directories from CMake generation. If the directory was explicitly removed prior to CMake generation, the function would error.

Add test that directory exists.

Problem solved by the commit

Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered

How problem was solved, alternative solutions (if any) and why they were rejected

Risks (if any) associated the changes in the commit

What has been tested and how, request additional testing if necessary

Documentation impact (if any)

Ignore missing directory in xrt_add_subdirectory.

xrt_add_subdirectory is used to conditionally exclude directories from
CMake generation.  If the directory was explicitly removed prior to
CMake generation, the function would error.

Add test that directory exists.
@abalasa abalasa closed this Jun 30, 2023
@gbuildx
Copy link
Collaborator

gbuildx commented Jun 30, 2023

Build failed :(

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.

3 participants