Changeset 11431


Ignore:
Timestamp:
Aug 8, 2018, 9:48:17 PM (10 months ago)
Author:
felixka
Message:

[CMAKE]

  • some systems need libm for nagra cak7
  • patch provided by @caveman99
  • fix for ticket #4681
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CMakeLists.txt

    r11256 r11431  
    552552endif (HAVE_LIBCRYPTO)
    553553
     554# some systems need libm for the nagra cak7 functions to work
     555check_include_file("math.h" HAVE_LIBM)
     556if(HAVE_LIBM)
     557    target_link_libraries (${exe_name} m)
     558endif(HAVE_LIBM)
     559
    554560if (HAVE_PCSC)
    555561if (NOT OSCamOperatingSystem MATCHES "Mac OS X")
Note: See TracChangeset for help on using the changeset viewer.