switch a modular cmakelists file