Mentions légales du service

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

TRy to specify DCMAKE_PREFIX_PATH

parent f9af9b02
No related branches found
No related tags found
No related merge requests found
......@@ -58,8 +58,8 @@ class CMakeBuild(build_ext):
else:
cmake_args += ['-DCMAKE_INSTALL_LIBDIR=lib']
if 'CONDA_PREFIX' in env:
cmake_args += ['-Dpybind11_DIR=${CONDA_PREFIX}/share/cmake/pybind11']
print(cmake_args)
cmake_args += ['-DCMAKE_PREFIX_PATH =${CONDA_PREFIX}']
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