sac2c -list-targets does not work when compiled without cuda support
When trying to run sac2c -list-targets I get the following error
➜ build git:(daanrs/cuda-sm52) ✗ ./sac2c_p -list-targets
Error:
The configuration files do not contain a specification of target 'cuda`.
You may choose a different target from the compiler-specific configuration file '/home/daan/code/uni/sac2c/build/sac2crc_p` or your local ones in '~/.sac2crc/`. You may also add a new target in a file in that folder, e.g. in '~/.sac2crc/sac2crc.mine`.
Compilation failed while initial, 1 error(s).
This is for the latest development version (hash 4e77a4c591e8996090b39b34c3ceb9fce2cebdf6) built from source without cuda.
If instead I build it with cuda it works just fine.