diff --git a/conanfile.py b/conanfile.py index dd006db..cbc7a49 100644 --- a/conanfile.py +++ b/conanfile.py @@ -101,6 +101,7 @@ def generate(self): # Set some build options tc.cache_variables["MV_UNITY_BUILD"] = "ON" + tc.cache_variables["CMAKE_CONFIGURATION_TYPES"] = "RelWithDebInfo" # Use vcpkg-installed dependencies if there are any if os.environ.get("VCPKG_ROOT", None): @@ -126,8 +127,6 @@ def generate(self): tc.variables["CMAKE_PROJECT_INCLUDE"] = vcpkg_tc.as_posix() - tc.cache_variables["CMAKE_MAP_IMPORTED_CONFIG_MINSIZEREL"] = "RelWithDebInfo" - tc.generate() def _configure_cmake(self):