Skip to content

Commit 8eac0d0

Browse files
Expand semicolon list of files for multiple file targets. (#30)
* Expand semicolon list of files for multiple file targets. * Quote F2PY_F2PY_ARGS the same way as the file list. * Update src/f2py_cmake/cmake/UseF2Py.cmake --------- Co-authored-by: Henry Schreiner <[email protected]>
1 parent c520875 commit 8eac0d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/f2py_cmake/cmake/UseF2Py.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ function(f2py_generate_module NAME)
117117
VERBATIM
118118
COMMAND
119119
"${${_Python}_EXECUTABLE}" -m numpy.f2py
120-
"${abs_all_files}" ${_file_arg} ${lower} ${F2PY_F2PY_ARGS}
120+
"${abs_all_files}" "${_file_arg}" ${lower} "${F2PY_F2PY_ARGS}"
121+
COMMAND_EXPAND_LISTS
121122
COMMAND
122123
"${CMAKE_COMMAND}" -E touch ${wrapper_files}
123124
WORKING_DIRECTORY "${F2PY_OUTPUT_DIR}"

0 commit comments

Comments
 (0)