We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 024ac61 commit 2835ce0Copy full SHA for 2835ce0
conanfile.py
@@ -84,7 +84,7 @@ def _configure_cmake(self):
84
os.environ['PYTHONPATH'] = self._extra_python_path() + os.pathsep + os.environ.get('PYTHONPATH', '')
85
cmake = CMake(self)
86
cmake.definitions['DISABLE_TESTS'] = True
87
- cmake.definitions['CMAKE_BUILD_TYPE'] = 'RelWithDebInfo'
+ cmake.definitions['CMAKE_BUILD_TYPE'] = self.settings.get_safe("build_type", "Release")
88
cmake.definitions['PIP_INSTALL_PREFIX'] = self.package_folder
89
cmake.definitions['PYTHON_BINDING_BUILD_PYTHON2_AND_PYTHON3'] = enable_python2_and_python3(self.options)
90
cmake.configure()
0 commit comments