[CMake] cmake works only with --debug-trycompile

Alexander Neundorf a.neundorf-work at gmx.net
Thu Jul 17 17:12:23 EDT 2008


On Thursday 17 July 2008, Alin M Elena wrote:
> Hi,
>
> I have a small project
> http://code.google.com/p/tdtbuj
>
> cmake is the build system.
>
> in linux
> if I do just cmake it fails to find the proper libs.

Please give more details so we can help.

> if I do cmake cmake --debug-trycompile will work (sometimes).

Don't do that. With debug-trycompile the temporary results from trycompiles 
are not deleted, so you may get weird results in the tests.

alex


More information about the CMake mailing list