Brad King wrote:
>
>> try_compile(TCRESULT
>> "${CMAKE_CURRENT_BINARY_DIR}/tcresultbindir"
>> "tcresult_src.cpp"
>> TARGETS foo bar
>> LINK_LIBRARIES foo bar
>> )
>
> No, for the source form the LINK_LIBRARIES would automatically
> handle targets. I just don't want to try doing it with the
> -DLINK_LIBRARIES= options.
That means TARGETS is already born with a shelf-live. It will be obsoleted
by LINK_LIBRARIES, right?
Should we create LINK_LIBRARIES now instead, use it in the macros by
directly passing CMAKE_REQUIRED_LIBRARIES to it, and implement the ignoring
of -DLINK_LIBRARIES in that case?
Thanks,
Steve.
--
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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers