some ifdef and what am I doing to the cmakelists?