CMake functions for the lazy ones