summaryrefslogtreecommitdiffstats
path: root/Modules/FindOpenACC.cmake
Commit message (Collapse)AuthorAgeFilesLines
* FindOpenACC: Provide import targets and OpenACC_<lang>_OPTIONS variableRobert Maynard2019-08-191-0/+28
| | | | | | Previously the FindOpenACC module had issues where the contents of OpenACC_<lang>_FLAGS could not be used with target_compile_options when it contained multiple compiler flags.
* FindOpenACC: Provide a Fortran snippet that compiles with gfortranRobert Maynard2019-08-091-3/+1
| | | | | | | | | | | | The original Fortran snippet would fail to compile with the error message of: ``` return 0; 1 Error: Alternate RETURN statement at (1) is only allowed within a SUBROUTINE ``` We solve this by removing the early termination logic.
* Find{OpenMP,OpenACC}: Fix detection with -Werror=return-typeChristian Pfeiffer2017-10-241-2/+7
| | | | | | Explicitly return a value from `main` in our test sources. Fixes: #17391
* FindOpenACC: Add module to detect compiler support for OpenACCTin Huynh2017-09-221-0/+252