Skip trying to link to libm explicitly

This doesn't seem to be necessary: it is automatically linked to,
at least on my machine. \*shrugs\*
This commit is contained in:
ISSOtm
2026-03-14 16:20:45 -04:00
committed by Rangi
parent e63ce24e48
commit bc37b0ece6

View File

@@ -118,9 +118,3 @@ else()
target_include_directories(rgbgfx PRIVATE ${PNG_INCLUDE_DIRS})
target_link_libraries(rgbgfx PRIVATE ${PNG_LIBRARIES})
endif()
include(CheckLibraryExists)
check_library_exists("m" "sin" "" HAS_LIBM)
if(HAS_LIBM)
target_link_libraries(rgbasm PRIVATE "m")
endif()