Skip to content

Commit

Permalink
Fix issue conan-io#11752
Browse files Browse the repository at this point in the history
  • Loading branch information
comargo committed Aug 2, 2022
1 parent c174bfc commit 8dfd390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conan/tools/cmake/cmake.py
Expand Up @@ -56,7 +56,7 @@ def __init__(self, conanfile):
configure_preset = get_configure_preset(cmake_presets, conanfile)

self._generator = configure_preset["generator"]
self._toolchain_file = configure_preset["toolchainFile"]
self._toolchain_file = configure_preset.get("toolchainFile")
self._cache_variables = configure_preset["cacheVariables"]

self._cmake_program = "cmake" # Path to CMake should be handled by environment
Expand Down

0 comments on commit 8dfd390

Please sign in to comment.