diff --git a/conanfile.py b/conanfile.py index 339ef9126..2979b31a0 100644 --- a/conanfile.py +++ b/conanfile.py @@ -261,6 +261,7 @@ def generate(self): tc.cache_variables["MP_UNITS_BUILD_CXX_MODULES"] = True if self.options.import_std: tc.cache_variables["CMAKE_CXX_MODULE_STD"] = True + tc.cache_variables["MP_UNITS_BUILD_IMPORT_STD"] = True # Current experimental support according to `Help/dev/experimental.rst` tc.cache_variables[ "CMAKE_EXPERIMENTAL_CXX_IMPORT_STD"