Ticket #42856: patch-CMakeLists.txt.diff

File patch-CMakeLists.txt.diff, 740 bytes (added by jul_bsd@…, 11 years ago)
  • CMakeLists.txt

    Don't check the libmagic version number, since it is determined incorrectly,
    and this will cause the build to fail on Snow Leopard and earlier when the
    otherwise unnecessary file port is not also installed, and upstream does not
    plan to fix this.
    https://bro-tracker.atlassian.net/browse/BIT-1096
    old new  
    7575endif ()
    7676
    7777set(libmagic_req 5.04)
    78 if ( LibMagic_VERSION VERSION_LESS ${libmagic_req} )
    79     message(FATAL_ERROR "libmagic of at least version ${libmagic_req} required "
    80                         "(found ${LibMagic_VERSION})")
    81 endif ()
    8278
    8379include_directories(BEFORE
    8480                    ${PCAP_INCLUDE_DIR}