Skip to content

Commit d36a791

Browse files
committed
make sure libm is linked last
1 parent 2f75b3e commit d36a791

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ if(SDL_LIBC)
10831083
endforeach()
10841084
if(HAVE_LIBM)
10851085
set(CMAKE_REQUIRED_LIBRARIES)
1086-
if(NOT VITA)
1086+
if(NOT VITA AND NOT NINTENDO_SWITCH AND NOT NINTENDO_WII)
10871087
list(APPEND EXTRA_LIBS m)
10881088
endif()
10891089
endif()

0 commit comments

Comments
 (0)