mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-04 11:15:39 +00:00
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:
1 parent
e63ce24e48
commit
bc37b0ece6
1 file changed
-6
@@ -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()
|
||||
Reference in new issue
Block a user