Mentions légales du service

Skip to content
Snippets Groups Projects
Commit db455e00 authored by LEGRAND Jonathan's avatar LEGRAND Jonathan
Browse files

Debug setup.py for cmake options

parent f19442fb
No related branches found
No related tags found
No related merge requests found
......@@ -57,10 +57,6 @@ class CMakeBuild(build_ext):
cmake_args += ['-DCMAKE_INSTALL_LIBDIR=${CONDA_PREFIX}/lib']
else:
cmake_args += ['-DCMAKE_INSTALL_LIBDIR=lib']
if 'CONDA_PREFIX' in env:
cmake_args += ['-DCMAKE_MODULE_PATH=${CONDA_PREFIX}']
cmake_args += ['-Dpybind11_DIR=${CONDA_PREFIX}/share/cmake/pybind11']
print(cmake_args)
env['CXXFLAGS'] = '{} -DVERSION_INFO=\\"{}\\"'.format(env.get('CXXFLAGS', ''),
self.distribution.get_version())
if not os.path.exists(self.build_temp):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment