Commit 1210a204 authored by Sebastian Müller's avatar Sebastian Müller 🐈
Browse files

f2py: use cmake specifed fortran compiler

parent a0657d1a
......@@ -25,6 +25,7 @@ add_custom_command(
-I${LIB_INCLUDES}
-L${LIB_INCLUDES}
-l${LIB_NAME}
--f90exec=${CMAKE_Fortran_COMPILER}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
install(FILES ${generated_module_file} DESTINATION wrap_lib)
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