[cmake-developers] Setting includes, defines and other usage requirements with one command
Stephen Kelly
steveire at gmail.com
Tue Jan 29 10:54:24 EST 2013
Stephen Kelly wrote:
>>if(PACKAGE_FIND_VERSION VERSION_LESS 2.3
>>AND NOT MyPkg_INTERFACES)
>>set(${PACKAGE_FIND_NAME}_NO_INTERFACES 1)
>>endif()
>>include("${CMAKE_CURRENT_LIST_DIR}/upstreamTargets.cmake")
>
> Yes, I'm fine with that too, though it will only affect 'new' interfaces,
> not LINK_INTERFACE_LIBRARIES.
I've implemented it in the tll-includes-defines branch in my clone. I've
only tested it manually though.
Thanks,
Steve.
More information about the cmake-developers
mailing list