The UFZ services GitLab and Mattermost will be unavailable on Monday, January 24 from 06:00 AM to 08:00 AM due to maintenance work.

Want to get a quick-start introduction to Shell, Git and GitLab? Join the next beginners course on 28/31 January. Register now!

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}
......
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