diff --git a/conanfile.py b/conanfile.py index b502360..785c389 100644 --- a/conanfile.py +++ b/conanfile.py @@ -77,5 +77,8 @@ def _patchCMakeListsFile(self, src_dir): tools.replace_in_file(cmake_file, "{}".format(cmake_project_line), '''{} +set(CMAKE_C_STANDARD 11) include(${{CMAKE_BINARY_DIR}}/conanbuildinfo.cmake) conan_basic_setup()'''.format(cmake_project_line)) + + self.output.warn("set C11 Standard")