File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ def __init__(
4646
4747 self ._ensure_default_profiles ()
4848
49- self ._cmake_binary = None
49+ self ._cmake_binary : str | None = None
5050
5151 @staticmethod
5252 def features (directory : Path ) -> SupportedFeatures :
@@ -267,9 +267,7 @@ def _sync_with_cmake(self, consumer: SyncConsumer) -> CMakeSyncData:
267267 """
268268 # Extract cmake_binary from CMakeGenerator if available
269269 if isinstance (consumer , CMakeGenerator ) and not os .environ .get ('CMAKE_BINARY' ):
270- # Only override if not already set from environment variable
271- cmake_path = consumer .data .cmake_binary
272- self ._cmake_binary = self ._resolve_cmake_binary (cmake_path )
270+ self ._cmake_binary = self ._resolve_cmake_binary (consumer .data .cmake_binary )
273271
274272 return self ._create_cmake_sync_data ()
275273
You can’t perform that action at this time.
0 commit comments