[CMake] pass compile flags to initial compiler test

Yngve Inntjore Levinsen yngve.levinsen at gmail.com
Mon Sep 20 07:36:28 EDT 2010


I am trying to use a rather vanilla compiler for my CMake project (Lahey-Fujitsu lf95 fortran compiler). This compiler (or perhaps just the particular version I have available) does only compile 32bit binaries, so on 64bit systems the initial test fails. In order for the test to succeed I need to pass some flags to the cmake script to be used for this initial testing, but I have not succeeded in finding information about how to do this. Anybody knows?

Thanks in advance for your help!

Best Regards
Yngve I. Levinsen


More information about the CMake mailing list