From 3217d90bcf80cec0b3e7446fb0b9deedb2a71298 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Carouge?= Date: Sun, 20 Nov 2022 18:28:18 -0800 Subject: [PATCH] [cmake] simplify combine library options (#221) --- include/CMakeLists.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt index aa647bdb6..1b81060df 100644 --- a/include/CMakeLists.txt +++ b/include/CMakeLists.txt @@ -39,6 +39,7 @@ For more information, please refer to ]] if(WIN32) set(OPTIONS "/EHsc" "/W4") else() + set(LIBRARIES format) set(OPTIONS "-ansi" "-fno-check-new" @@ -64,12 +65,6 @@ else() "-Wwrite-strings") endif() -if(WIN32) - set(LIBRARIES) -else() - set(LIBRARIES format) -endif() - add_library(kalman INTERFACE) target_sources( kalman