Ignore:
Timestamp:
02/21/10 10:22:47 (14 years ago)
Author:
alno
Message:

WebIf:

  • merge 1635-1639 of trunk (ump1753?) Thanks Dingo
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/monitor-improvement/CMakeLists.txt

    r1630 r1641  
    162162endif(HAVE_DVBAPI)
    163163
     164if (WEBIF)
     165    add_definitions ("-DWEBIF")
     166endif (WEBIF)
     167
    164168check_include_file ("pthread.h" HAVE_PTHREAD)
    165169if (HAVE_PTHREAD)
     
    237241                add_library(imp_libusb STATIC IMPORTED)
    238242                set_property(TARGET imp_libusb PROPERTY IMPORTED_LOCATION /usr/local/lib/libusb-1.0.a)
     243            elseif (EXISTS /usr/lib/libusb-1.0.a)
     244                message(STATUS "  static libusb 1.0 found : /usr/lib/libusb-1.0.a . Adding smartreader support ")
     245                add_definitions ("-DLIBUSB")
     246                add_library(imp_libusb STATIC IMPORTED)
     247                set_property(TARGET imp_libusb PROPERTY IMPORTED_LOCATION /usr/lib/libusb-1.0.a)
    239248            else (EXISTS /usr/local/lib/libusb-1.0.a)
    240                 message(STATUS "  static libusb 1.0 not found (/usr/local/lib/libusb-1.0.a) . No smartreader support ")
     249                message(STATUS "  static libusb 1.0 not found (not in /usr/local/lib/ or /usr/lib/) . No smartreader support ")
    241250                unset(HAVE_LIBUSB)
    242251                unset(HAVE_LIBRT)
     
    487496    message (STATUS "  use system libusb functions")
    488497endif (HAVE_LIBUSB)
     498if (WEBIF)
     499    message (STATUS "  Web interface enabled")
     500endif (WEBIF)
    489501message (STATUS "")
Note: See TracChangeset for help on using the changeset viewer.