Revert "Revert "Forced top level cmake to config.""

This reverts commit 774895f773f9c58981d03116431aa4d3b3465be9.