Skip to content

Commit

Permalink
Fix conan build step
Browse files Browse the repository at this point in the history
Update replace_in_file call to match changes in CMakeLists.
  • Loading branch information
jwest591 authored Aug 17, 2022
1 parent fcfc7a6 commit 0f2cea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def configure(self):
raise ConanInvalidConfiguration("Abseil does not support MSVC < 14")

def build(self):
tools.replace_in_file("CMakeLists.txt", "project(absl CXX)", "project(absl CXX)\ninclude(conanbuildinfo.cmake)\nconan_basic_setup()")
tools.replace_in_file("CMakeLists.txt", "project(absl LANGUAGES CXX)", "project(absl LANGUAGES CXX)\ninclude(conanbuildinfo.cmake)\nconan_basic_setup()")
cmake = CMake(self)
cmake.definitions["BUILD_TESTING"] = False
cmake.configure()
Expand Down

0 comments on commit 0f2cea5

Please sign in to comment.