From 5eda38ca2b9df36a2d63ee42ec429ccddae07804 Mon Sep 17 00:00:00 2001 From: Danny Piper Date: Thu, 27 Jul 2023 13:34:40 +0100 Subject: [PATCH] fix: do not link m on windows --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5d8f418..773dec8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -99,7 +99,6 @@ set(LIBS jansson CURL::libcurl pthread - m c ${ABSL_LIBS} re2) @@ -112,6 +111,7 @@ if(WIN32) set(LIBS ${LIBS} win32) else() set(ADDITIONAL_FLEX_FLAGS "") + set(LIBS ${LIBS} m) endif() flex_target(