Changeset 1591
- Timestamp:
- 02/16/10 23:57:28 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/monitor-improvement/CMakeLists.txt
r1571 r1591 196 196 if (LIBUSBDIR) 197 197 check_include_file ("${LIBUSBDIR}/include/libusb-1.0/libusb.h" HAVE_LIBUSB) 198 if (HAVE_LIBUSB AND (HAVE_LIBRT OR HAVE_LIBRT_STATIC))198 if (HAVE_LIBUSB AND HAVE_LIBRT OR HAVE_LIBRT_STATIC) 199 199 if (EXISTS ${LIBUSBDIR}/lib/libusb-1.0.a) 200 200 message(STATUS " static libusb 1.0 found (${LIBUSBDIR}/lib/libusb-1.0.a). Adding smartreader support ") … … 208 208 unset(HAVE_LIBRT_STATIC) 209 209 endif (EXISTS ${LIBUSBDIR}/lib/libusb-1.0.a) 210 elseif (HAVE_LIBUSB AND (HAVE_LIBRT OR HAVE_LIBRT_STATIC))210 elseif (HAVE_LIBUSB AND HAVE_LIBRT OR HAVE_LIBRT_STATIC) 211 211 message(STATUS " no libusb 1.0 found or missing librt. No smartreader support") 212 endif (HAVE_LIBUSB AND (HAVE_LIBRT OR HAVE_LIBRT_STATIC))212 endif (HAVE_LIBUSB AND HAVE_LIBRT OR HAVE_LIBRT_STATIC) 213 213 else (LIBUSBDIR) 214 214 check_include_file ("libusb-1.0/libusb.h" HAVE_LIBUSB) 215 if (HAVE_LIBUSB AND (HAVE_LIBRT OR HAVE_LIBRT_STATIC))215 if (HAVE_LIBUSB AND HAVE_LIBRT OR HAVE_LIBRT_STATIC) 216 216 if (EXISTS /usr/local/lib/libusb-1.0.a) 217 217 message(STATUS " static libusb 1.0 found : /usr/local/lib/libusb-1.0.a . Adding smartreader support ") … … 225 225 unset(HAVE_LIBRT_STATIC) 226 226 endif (EXISTS /usr/local/lib/libusb-1.0.a) 227 else (HAVE_LIBUSB AND (HAVE_LIBRT OR HAVE_LIBRT_STATIC))227 else (HAVE_LIBUSB AND HAVE_LIBRT OR HAVE_LIBRT_STATIC) 228 228 message(STATUS " no libusb 1.0 found or missing librt. No smartreader support") 229 endif (HAVE_LIBUSB AND (HAVE_LIBRT OR HAVE_LIBRT_STATIC))229 endif (HAVE_LIBUSB AND HAVE_LIBRT OR HAVE_LIBRT_STATIC) 230 230 endif (LIBUSBDIR) 231 231
Note:
See TracChangeset
for help on using the changeset viewer.