Update CMakeLists.txt

misc: docu update - definition LEGACY_DEBUG is armed