Skip to content

Commit

Permalink
fix: do not link m on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
djpiper28 committed Jul 27, 2023
1 parent a1b9632 commit 5eda38c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ set(LIBS
jansson
CURL::libcurl
pthread
m
c
${ABSL_LIBS}
re2)
Expand All @@ -112,6 +111,7 @@ if(WIN32)
set(LIBS ${LIBS} win32)
else()
set(ADDITIONAL_FLEX_FLAGS "")
set(LIBS ${LIBS} m)
endif()

flex_target(
Expand Down

0 comments on commit 5eda38c

Please sign in to comment.