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 <myselfasun...@gmail.com> 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