From 4772d907b4667d84341b227c32808dd94a1e6ef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonah=20Br=C3=BCchert?= Date: Sat, 21 Dec 2024 23:38:17 +0100 Subject: [PATCH] cmake: Add option to pass flags not used for host tools --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6180cadc2..3046f1813 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -198,3 +198,9 @@ add_custom_target(motis-web-ui WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/ui" VERBATIM ) + +foreach(t mimalloc adr osr nigiri gtfsrt + geo tiles tiles-import-library + motis motis-api motislib) + target_compile_options(${t} PUBLIC ${MOTIS_TARGET_FLAGS}) +endforeach()