Update CMakeLists.txt

Added core files