[cmake-developers] [CMake] Reverse logic

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Wed Jan 29 19:50:26 EST 2014


Re-including the list.

You could also find more details reading the documentation of the "if"
command. See http://www.cmake.org/cmake/help/git-master/command/if.html


On Wed, Jan 29, 2014 at 7:40 PM, Rob McDonald <rob.a.mcdonald at gmail.com>wrote:

> Yep, that does it for me.  Sneaky...
>
> Rob
>
>
>
> On Wed, Jan 29, 2014 at 4:23 PM, Jean-Christophe Fillion-Robin <
> jchris.fillionr at kitware.com> wrote:
>
>> Hi Rob,
>>
>> What about:
>>
>> if( NOT USE_SYSTEM_FOO)
>>     # Build my own FOO
>> endif()
>>
>> Hth
>> Jc
>>
>>


-- 
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20140129/aedc9636/attachment.html>


More information about the cmake-developers mailing list