Your cmake file should be like this:
cmake_minimum_required(VERSION 3.25)
project(MyGame)
set(CMAKE_CXX_STANDARD 17)
set(TILENGINE_PATH "tilengine")
include_directories(${TILENGINE_PATH}/include)
link_directories(${TILENGINE_PATH}/lib/x64)
add_executable(MyGame main.cpp)