Commit e3eeb497 authored by Isaak Lim's avatar Isaak Lim

always set cmake build type

parent 82376926
Pipeline #6239 passed with stages
in 7 minutes
...@@ -60,8 +60,7 @@ class CMakeBuild(build_ext): ...@@ -60,8 +60,7 @@ class CMakeBuild(build_ext):
if sys.maxsize > 2**32: if sys.maxsize > 2**32:
cmake_args += ['-A', 'x64'] cmake_args += ['-A', 'x64']
build_args += ['--', '/m'] build_args += ['--', '/m']
else: cmake_args += ['-DCMAKE_BUILD_TYPE=' + cfg]
cmake_args += ['-DCMAKE_BUILD_TYPE=' + cfg]
env = os.environ.copy() env = os.environ.copy()
env['CXXFLAGS'] = '{} -DVERSION_INFO=\\"{}\\"'.format(env.get('CXXFLAGS', ''), env['CXXFLAGS'] = '{} -DVERSION_INFO=\\"{}\\"'.format(env.get('CXXFLAGS', ''),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment