function(polysolve_prepend_current_path SOURCE_FILES)
  # Use recursive substitution to expand SOURCE_FILES
  unset(MODIFIED)
  foreach(SOURCE_FILE IN ITEMS ${${SOURCE_FILES}})
    list(APPEND MODIFIED "${CMAKE_CURRENT_SOURCE_DIR}/${SOURCE_FILE}")
  endforeach()
  set(${SOURCE_FILES} ${MODIFIED} PARENT_SCOPE)
endfunction()
