On Tuesday 04 May 2010, Steven Wilson wrote:
> The CMake 2.8.0 documentation for try_compile() states:
>
> Some extra flags that can be included are, INCLUDE_DIRECTORIES,
> LINK_DIRECTORIES, and LINK_LIBRARIES.

I'd recommend not to use try_compile() directly.
Did you try check_c_source_compiles() ? This is more high level.

Does that work for you ?

Alex
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to