Update CMakeLists.txt template to operate properly with PARENT cmake file