about summary refs log tree commit diff
diff options
context:
space:
mode:
-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()