Skip to content

Commit

Permalink
make sure libm is linked last
Browse files Browse the repository at this point in the history
  • Loading branch information
WinterMute committed Jan 31, 2024
1 parent 2f75b3e commit d36a791
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 @@ -1083,7 +1083,7 @@ if(SDL_LIBC)
endforeach()
if(HAVE_LIBM)
set(CMAKE_REQUIRED_LIBRARIES)
if(NOT VITA)
if(NOT VITA AND NOT NINTENDO_SWITCH AND NOT NINTENDO_WII)
list(APPEND EXTRA_LIBS m)
endif()
endif()
Expand Down

0 comments on commit d36a791

Please sign in to comment.