Fix conan build step

Update replace_in_file call to match changes in CMakeLists.
pull/1252/head
jwest591 2 years ago committed by GitHub
parent fcfc7a6d15
commit 0f2cea5edf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      conanfile.py

@ -30,7 +30,7 @@ class AbseilConan(ConanFile):
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()

Loading…
Cancel
Save