specify debug with cmake_build_type

This commit is contained in:
Kalin Kiesling 2022-03-21 15:56:27 -05:00
parent 733604216a
commit 643749a0a0

View file

@ -26,7 +26,7 @@ def install(omp=False, mpi=False, phdf5=False, dagmc=False, libmesh=False):
os.chdir('build')
# Build in debug mode by default
cmake_cmd = ['cmake', '-Ddebug=on']
cmake_cmd = ['cmake', '-DCMAKE_BUILD_TYPE=Debug']
# Turn off OpenMP if specified
if not omp: