about summary refs log tree commit diff
path: root/conanfile.py
diff options
context:
space:
mode:
authorAdrian Ostrowski <adr.ostrowski@gmail.com>2019-11-12T20·17+0100
committerAndy Getz <durandal@google.com>2019-11-12T20·17-0500
commit85092b4b648ca729c6263c4a302a41dfff28705e (patch)
treeb99344b7b26dbe61a81980584dfb45213ba2514e /conanfile.py
parente96ae2203b80d5ae2e0b7abe0c77b722b224b16d (diff)
Fix Conan builds (#400)
Fix adding Conan setup invocation to CMakeLists.txt in conanfile.py
Diffstat (limited to 'conanfile.py')
-rw-r--r--conanfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/conanfile.py b/conanfile.py
index cd124aaee4bf..926ec5ccd64b 100644
--- 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)", "project(absl)\ninclude(conanbuildinfo.cmake)\nconan_basic_setup()")
+        tools.replace_in_file("CMakeLists.txt", "project(absl CXX)", "project(absl CXX)\ninclude(conanbuildinfo.cmake)\nconan_basic_setup()")
         cmake = CMake(self)
         cmake.definitions["BUILD_TESTING"] = False
         cmake.configure()