From dd274fb07230dd1bad2845e2f6bbed3d8440ef68 Mon Sep 17 00:00:00 2001 From: Alexander Borsuk Date: Sat, 4 Sep 2021 22:42:22 +0200 Subject: [PATCH] Add more compiler optimizations --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3e937c7..0fcfff2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,8 @@ +project(osmctools) + cmake_minimum_required(VERSION 3.6) -add_compile_options("-O3") +add_compile_options(-O3 -march=native -ffast-math -flto) add_executable(osmupdate osmupdate.c) add_executable(osmfilter osmfilter.c)