1 2 3
project(ProjectA LANGUAGES NONE) get_property(langs GLOBAL PROPERTY ENABLED_LANGUAGES) message(STATUS "ENABLED_LANGUAGES='${langs}'")