cmake_minimum_required(VERSION 3.22) set(CMAKE_OSX_ARCHITECTURES arm64;x86_64) project(osmctools) add_compile_options(-O3 -ffast-math -flto) add_executable(osmupdate osmupdate.c) add_executable(osmfilter osmfilter.c) add_executable(osmconvert osmconvert.c) target_link_libraries( osmconvert z )