[CMake] Tiny cmake question
Alexey Petruchik
alexey.petruchik at gmail.com
Mon May 11 18:05:04 EDT 2015
Is it possible to rewrite:
if (${OPENSSL_FOUND})
option(USE_OUR_OWN_MD5 "Build using own md5 implementation" OFF)
else()
option(USE_OUR_OWN_MD5 "Build using own md5 implementation" ON)
endif()
in one line? Something like:
option(USE_OUR_OWN_MD5 "Build using own md5 implementation" NOT
OPENSSL_FOUND)
Regards, Alexey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150512/a7d5c5f4/attachment.html>
More information about the CMake
mailing list