[utils] link m library if required

This commit is contained in:
akallabeth 2024-05-14 19:57:12 +02:00
parent aaded541d9
commit 8bdf92ca52
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5

View File

@ -47,6 +47,12 @@ if(WIN32)
freerdp_library_add(cfgmgr32)
endif()
CHECK_LIBRARY_EXISTS(m pow "" HAVE_LIB_M)
if (HAVE_LIB_M)
freerdp_library_add(m)
endif()
if(BUILD_TESTING)
add_subdirectory(test)
endif()