Claus Klein wrote:

thanks  for quick anser.

If it works with:
cmake -DSIZEOF_SIZE_T=4 ..
it is ok for me.

But my real intention is:

It ist possible to prevent test which use TRY_RUN()?

That was the most often problem with configure, why continue this with cmake?

While crosscompiling, sure!

-Claus

Right now there is no way to do this, other than pre-set the variable. However, there are plans at some point to add better support for cross-compiling. When that happens, in cross-compile mode all try_run calls will cause errors. This has not yet been implemented.

-Bill

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to