#1847: FFTW3 fortran interface not working for system installation -----------------------+---------------------------------------------------- Reporter: knarf | Owner: Type: defect | Status: review Priority: optional | Milestone: Component: Cactus | Version: development version Resolution: | Keywords: -----------------------+---------------------------------------------------- Changes (by knarf):
* status: new => review
Comment:
A pull request for the flesh to allow for a Fortran-specific include directory list has been created:
https://bitbucket.org/cactuscode/cactus/pull-requests/21/cactus-add- include_line_f/diff
An example usage of this would be, in FFTW3's detect.sh: {{{ echo 'INCLUDE_DIRECTORY $(FFTW3_INC_DIRS)' echo 'INCLUDE_DIRECTORY_FORTRAN $(FFTW3_INC_DIRS) /usr/include' }}} Note that above example is only good for demonstrating how this would work. /usr/include shouldn't be added unconditionally here, of course.
With this patch, INCLUDE_DIRECTORY_FORTRAN is always used for Fortran processing, and is populated with INCLUDE_DIRECTORY if INCLUDE_DIRECTORY_FORTRAN is not specified.