Skip to content

Use cache_variables for CMake options in conanfile.py#52

Merged
alxvth merged 2 commits into
masterfrom
feature/UseConanCacheVariable
May 28, 2026
Merged

Use cache_variables for CMake options in conanfile.py#52
alxvth merged 2 commits into
masterfrom
feature/UseConanCacheVariable

Conversation

@alxvth
Copy link
Copy Markdown
Contributor

@alxvth alxvth commented May 28, 2026

tc.variables[...] sets a normal CMake variable and tc.cache_variable[...] should be used for CMake options, see the conan docs.

Drive-by:

  • Use ubuntu-slim instead of ubuntu-latest. This uses a container rather than a whole VM and might lead to a little faster setup

@alxvth alxvth merged commit a79a2bb into master May 28, 2026
8 checks passed
@alxvth alxvth deleted the feature/UseConanCacheVariable branch May 28, 2026 09:14
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.

1 participant