# sudo apt install libproj-dev sqlite3 libsqlite3-dev cmake_minimum_required(VERSION 3.10) project(project) find_package(PkgConfig REQUIRED) pkg_check_modules(PROJ REQUIRED proj) add_executable(${PROJECT_NAME} main.cpp ) target_link_libraries(${PROJECT_NAME} PUBLIC ${PROJ_LIBRARIES} ) target_include_directories(${PROJECT_NAME} PUBLIC ${PROJ_INCLUDEDIR} )