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: Small fix to prevent empty module path #694

Merged
merged 1 commit into from Nov 30, 2023

Conversation

AljenU
Copy link
Contributor

@AljenU AljenU commented Jun 14, 2023

Description

In a chain of cmake package config projects using find_dependency(), where each would use the same code to temporarily adapt the module path, the path would end up empty in the end, even if it wasn't empty before, because of the unset() call of a not-package-specific variable. Therefore, make the variable name package specific.

In a chain of cmake package config projects using find_dependency(),
where each would use the same code to temporarily adapt the module
path, the path would end up empty in the end, even if it wasn't empty
before, because of the unset() call of a not-package-specific variable.
Therefore, make the variable name package specific.
@codecov
Copy link

codecov bot commented Jun 14, 2023

Codecov Report

Merging #694 (357428b) into main (7add235) will not change coverage.
The diff coverage is n/a.

❗ Current head 357428b differs from pull request most recent head 74bebd3. Consider uploading reports for the commit 74bebd3 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #694   +/-   ##
=======================================
  Coverage   76.29%   76.29%           
=======================================
  Files         291      291           
  Lines       18777    18777           
=======================================
  Hits        14326    14326           
  Misses       4451     4451           

see 1 file with indirect coverage changes

@kris-rowe kris-rowe changed the base branch from main to development November 30, 2023 18:25
@kris-rowe kris-rowe merged commit ff6e4ea into libocca:development Nov 30, 2023
6 checks passed
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