Skip to content

Commit

Permalink
remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
toge authored and jcar87 committed Feb 8, 2024
1 parent c568a18 commit 0cb9724
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions recipes/influxdb-cxx/all/conanfile.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
from conan import ConanFile
from conan.errors import ConanInvalidConfiguration
from conan.tools.microsoft import check_min_vs, is_msvc_static_runtime, is_msvc
from conan.tools.files import apply_conandata_patches, export_conandata_patches, get, copy, rm, rmdir, replace_in_file
from conan.tools.files import get, copy, rmdir
from conan.tools.build import check_min_cppstd
from conan.tools.scm import Version
from conan.tools.cmake import CMake, CMakeDeps, CMakeToolchain, cmake_layout
from conan.tools.env import VirtualBuildEnv
import os

required_conan_version = ">=1.53.0"
Expand Down Expand Up @@ -44,9 +42,6 @@ def _compilers_minimum_version(self):
"msvc": "192",
}

def export_sources(self):
export_conandata_patches(self)

def config_options(self):
if self.settings.os == "Windows":
del self.options.fPIC
Expand Down Expand Up @@ -77,6 +72,7 @@ def source(self):

def generate(self):
tc = CMakeToolchain(self)
# BUILD_SHARED_LIBS is defined explicitly in CMakeLists.txt
tc.cache_variables["BUILD_SHARED_LIBS"] = self.options.shared
tc.cache_variables["INFLUXCXX_TESTING"] = False
tc.cache_variables["INFLUXCXX_WITH_BOOST"] = self.options.boost
Expand All @@ -85,7 +81,6 @@ def generate(self):
deps.generate()

def build(self):
apply_conandata_patches(self)
cmake = CMake(self)
cmake.configure()
cmake.build()
Expand Down

0 comments on commit 0cb9724

Please sign in to comment.