cmake_minimum_required(VERSION 3.19) project(untitled) set(CMAKE_CXX_STANDARD 17) add_executable(untitled main.cpp) find_package(Poco REQUIRED DataMySQL) target_link_libraries(untitled Poco::DataMySQL)