[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Confusing Redundancy
[Thread Prev] | [Thread Next]
- Subject: Re: Confusing Redundancy
- From: Alan Dunn <amdunn@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 26 Feb 2014 18:14:25 -0600
- To: libssh@xxxxxxxxxx
I think that's just how else is written in cmake; it really means if the condition by the if is not true. See: http://www.cmake.org/Wiki/CMake_FAQ#Isn.27t_the_.22Expression.22_in_the_.22ELSE_.28Expression.29.22_confusing.3F Thanks, - Alan On Wed, Feb 26, 2014 at 6:10 PM, Dustin Oprea <myselfasunder@xxxxxxxxx> wrote: > The following is in src/CMakeLists.txt, and it seems like the else will > never trigger and "pki_crypto.c" will never be included: > > if (WITH_GCRYPT) > set(libssh_SRCS > ${libssh_SRCS} > libgcrypt.c > gcrypt_missing.c > pki_gcrypt.c > ) > else (WITH_GCRYPT) > set(libssh_SRCS > ${libssh_SRCS} > pki_crypto.c > ) > endif (WITH_GCRYPT) > > > > Dustin
Confusing Redundancy | Dustin Oprea <myselfasunder@xxxxxxxxx> |