summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jwest591 <jwest591@users.noreply.github.com>2022-08-17 17:59:44 +0100
committerGravatar GitHub <noreply@github.com>2022-08-17 17:59:44 +0100
commit0f2cea5edf091f5599eb99ff0be4af40ff0aa059 (patch)
treed9348fa19649b366c20b99f247e184aa7d6cd896
parentfcfc7a6d15eab5aff86d7b90c9e38fa386a103fa (diff)
Fix conan build step
Update replace_in_file call to match changes in CMakeLists.
-rwxr-xr-xconanfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/conanfile.py b/conanfile.py
index 926ec5cc..4bbc62ee 100755
--- a/conanfile.py
+++ b/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()