Commit 910b23b0 authored by Sebastian Müller's avatar Sebastian Müller 🐈
Browse files

Cmake set missing env var

parent 318c55a3
......@@ -31,7 +31,7 @@ add_custom_command(
OUTPUT ${generated_module_file}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
# use Command Line Tool Mode of CMake to set LDFLAGS for f2py (rpath)
COMMAND ${CMAKE_COMMAND} -E env 'LDFLAGS=-Wl,-rpath,${rpath}'
COMMAND ${CMAKE_COMMAND} -E env 'LDFLAGS=-Wl,-rpath,${rpath}' env 'NPY_DISTUTILS_APPEND_FLAGS=1'
${F2PY_EXECUTABLE}
-m ${f2py_module_name}
-c ${fortran_src_file}
......
Supports Markdown
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