Skip to content

Commit

Permalink
Fix more preprocessor definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
jwillikers committed Aug 19, 2022
1 parent 4c57244 commit 4987162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/gtest/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ def generate(self):
try:
check_min_vs(self, "191")
except ConanInvalidConfiguration:
tc.preprocessor_definitions["GTEST_LANG_CXX11"] = True
tc.preprocessor_definitions["GTEST_HAS_TR1_TUPLE"] = False
tc.preprocessor_definitions["GTEST_LANG_CXX11"] = 1
tc.preprocessor_definitions["GTEST_HAS_TR1_TUPLE"] = 0

tc.cache_variables["BUILD_GMOCK"] = bool(self.options.build_gmock)
if self.settings.os == "Windows" and self.settings.compiler == "gcc":
Expand Down

0 comments on commit 4987162

Please sign in to comment.