Use macros in CMakeLists.txt files from 78c3113