Skip to content

Commit

Permalink
[cmake] simplify combine library options (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancoisCarouge authored Nov 21, 2022
1 parent c2c7edc commit 3217d90
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions include/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ For more information, please refer to <https://unlicense.org> ]]
if(WIN32)
set(OPTIONS "/EHsc" "/W4")
else()
set(LIBRARIES format)
set(OPTIONS
"-ansi"
"-fno-check-new"
Expand All @@ -64,12 +65,6 @@ else()
"-Wwrite-strings")
endif()

if(WIN32)
set(LIBRARIES)
else()
set(LIBRARIES format)
endif()

add_library(kalman INTERFACE)
target_sources(
kalman
Expand Down

0 comments on commit 3217d90

Please sign in to comment.