From bc37b0ece64053034786b62801aa05aae6a7cd8b Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Sat, 14 Mar 2026 16:20:45 -0400 Subject: [PATCH] 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\* --- src/CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2eb2fbfe..0694107f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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()