File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed
Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -232,29 +232,6 @@ def sync_data(self, consumer: SyncConsumer) -> SyncData:
232232 # Create the directory structure if it doesn't exist
233233 toolchain_path .parent .mkdir (parents = True , exist_ok = True )
234234
235- # Always create a minimal toolchain file that includes dependencies when they exist
236- toolchain_content = f'''# Conan CMake integration file
237- # This file is managed by CPPython and integrates Conan dependencies with CMake
238-
239- # Set the build directory for reference
240- set(CONAN_BUILD_DIR "{ self .core_data .cppython_data .build_path .as_posix ()} ")
241-
242- # Include CMakeDeps generated dependency files if they exist
243- file(GLOB CONAN_DEPS_FILES "${{CONAN_BUILD_DIR}}/*-config.cmake")
244- foreach(DEPS_FILE ${{CONAN_DEPS_FILES}})
245- include("${{DEPS_FILE}}")
246- endforeach()
247-
248- # Include any conan-generated toolchain files
249- if(EXISTS "${{CONAN_BUILD_DIR}}/conan_toolchain.cmake.real")
250- include("${{CONAN_BUILD_DIR}}/conan_toolchain.cmake.real")
251- else()
252- message(STATUS "Conan dependencies not installed yet - run conan install to install dependencies")
253- endif()
254- '''
255-
256- toolchain_path .write_text (toolchain_content )
257-
258235 return CMakeSyncData (
259236 provider_name = TypeName ('conan' ),
260237 toolchain = toolchain_path ,
You can’t perform that action at this time.
0 commit comments