Skip to content

Commit

Permalink
[utils] link m library if required
Browse files Browse the repository at this point in the history
  • Loading branch information
akallabeth committed May 14, 2024
1 parent aaded54 commit 8bdf92c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libfreerdp/utils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 8bdf92c

Please sign in to comment.