Skip to content

Commit

Permalink
Fix wrong library linking order: the -lm flag has to be called after …
Browse files Browse the repository at this point in the history
…the -lmmg one.
  • Loading branch information
Algiane committed Dec 7, 2023
1 parent b52cf90 commit 1e051fa
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 @@ -230,7 +230,7 @@ FILE(
)
IF (NOT WIN32)
FIND_LIBRARY(M_LIB m)
SET( LIBRARIES ${M_LIB} ${LIBRARIES})
SET( LIBRARIES ${LIBRARIES} ${M_LIB} )
ENDIF()

############################################################################
Expand Down

0 comments on commit 1e051fa

Please sign in to comment.