Skip to content

Commit

Permalink
fix compilation error on msvc shared build
Browse files Browse the repository at this point in the history
  • Loading branch information
toge authored and jcar87 committed Feb 8, 2024
1 parent 0cb9724 commit f1d3e28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/influxdb-cxx/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ def generate(self):
tc.cache_variables["BUILD_SHARED_LIBS"] = self.options.shared
tc.cache_variables["INFLUXCXX_TESTING"] = False
tc.cache_variables["INFLUXCXX_WITH_BOOST"] = self.options.boost
if self.options.shared:
tc.preprocessor_definitions["InfluxDB_EXPORTS"] = 1
tc.generate()
deps = CMakeDeps(self)
deps.generate()
Expand Down

0 comments on commit f1d3e28

Please sign in to comment.