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

Feature/cmake dependencies #48

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

niklas-uhl
Copy link
Member

No description provided.

@niklas-uhl niklas-uhl requested a review from kurpicz October 20, 2023 08:42
${fetch_content_supported_flags}
)

function (ensure_googletest)
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we should move utility functionality like this in a different file to keep the main CMakeLists.txt short.

list(APPEND fetch_content_supported_flags EXCLUDE_FROM_ALL)
endif ()

# Using CMake >= 3.24 we override find_package and it "just works". For older versions we simulate the same behavior by
Copy link
Member

Choose a reason for hiding this comment

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

Can we automatically test this for different CMake versions in our GitHub action, i.e., add different CMake versions to our build matrix?

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