Add an extension block to CMake