vendredi 27 novembre 2020

CMake IF with multiple conditions

How to make if function with multiple conditions? I know CMake support if with 2 conditions, but how to make more than 3? I need something like this:

if(WIN32 OR APPLE OR IOS)
    set(LIBS)
endif()

Thanks

Aucun commentaire:

Enregistrer un commentaire