From f423e4c4d0113b68015598839b6ebc75bfa15449 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Tue, 24 Dec 2024 14:57:30 +0100 Subject: [PATCH] p --- conanfile.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/conanfile.py b/conanfile.py index dff59fd8394..40189cec7ac 100644 --- a/conanfile.py +++ b/conanfile.py @@ -1,5 +1,6 @@ from conan import ConanFile from conan.tools.files import copy +from conan.tools.cmake import CMakeToolchain from os import path @@ -17,7 +18,7 @@ class Chatterino(ConanFile): # Qt is built with OpenSSL 3 from version 6.5.0 onwards "with_openssl3": [True, False], } - generators = "CMakeDeps", "CMakeToolchain" + generators = "CMakeDeps" def requirements(self): self.requires("boost/1.86.0") @@ -32,6 +33,16 @@ def requirements(self): self.requires("openssl/3.3.2") def generate(self): + tc = CMakeToolchain(self) + tc.blocks.remove("compilers") + tc.blocks.remove("cmake_flags_init") + tc.blocks.remove("cppstd") + tc.blocks.remove("libcxx") + tc.blocks.remove("generic_system") + tc.blocks.remove("user_toolchain") + tc.blocks.remove("output_dirs") + tc.generate() + def copy_bin(dep, selector, subdir): src = path.realpath(dep.cpp_info.bindirs[0]) dst = path.realpath(path.join(self.build_folder, subdir))