[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Confusing Redundancy


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

Follow-Ups:
Re: Confusing RedundancyAlan Dunn <amdunn@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org