Changeset 1327
- Timestamp:
- 01/21/10 17:53:19 (14 years ago)
- Location:
- branches/smartreader
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/smartreader/CMakeLists.txt
r1290 r1327 135 135 136 136 include (CheckIncludeFile) 137 check_include_file ("pthread.h" HAVE_PTHREAD) 138 if (HAVE_PTHREAD) 139 message(STATUS " pthread found. Adding pthread support ") 140 add_definitions ("-DHAVE_PTHREAD_H -DUSE_PTHREAD") 141 elseif (HAVE_PTHREAD) 142 message(STATUS " no pthread found. No smartreader ") 143 endif (HAVE_PTHREAD) 144 137 145 check_include_file ("openssl/aes.h" HAVE_AES) 138 146 if (HAVE_AES) … … 149 157 message(STATUS " libusb found. Adding smartreader support ") 150 158 add_definitions ("-DHAVE_LIBUSB") 151 elseif (HAVE_ USB)159 elseif (HAVE_LIBUSB) 152 160 message(STATUS " no libusb found. No smartreader ") 153 161 endif (HAVE_LIBUSB) … … 197 205 set (exe_name "oscam") 198 206 add_executable (${exe_name} ${exe_srcs} ${exe_hdrs}) 199 target_link_libraries (${exe_name} ${csoscam} ${csmodules} ${csreaders} csctapi cscrypt pthread) 207 target_link_libraries (${exe_name} ${csoscam} ${csmodules} ${csreaders} csctapi cscrypt) 208 if (HAVE_PTHREAD) 209 target_link_libraries (${exe_name} pthread) 210 endif (HAVE_PTHREAD) 211 200 212 if (HAVE_AES) 201 213 target_link_libraries (${exe_name} crypto) … … 374 386 message (STATUS " use system pcsc functions") 375 387 endif (HAVE_PCSC) 388 if (HAVE_PTHREAD) 389 message (STATUS " use system pthread functions") 390 endif (HAVE_PTHREAD) 376 391 if (HAVE_LIBUSB) 377 392 message (STATUS " use system libusb functions") -
branches/smartreader/csctapi/CMakeLists.txt
r1294 r1327 7 7 if (HAVE_LIBUSB) 8 8 add_definitions ("-DHAVE_LIBUSB") 9 target_link_libraries (${exe_name} usb) 9 10 endif (HAVE_LIBUSB) 10 11 11 if (HAVE_LIBUSB) 12 target_link_libraries (${exe_name} usb) 13 endif (HAVE_LIBUSB) 12 check_include_file ("pthread.h" HAVE_PTHREAD) 13 if (HAVE_PTHREAD) 14 add_definitions ("-DHAVE_PTHREAD_H -DUSE_PTHREAD") 15 target_link_libraries (${exe_name} pthread) 16 endif (HAVE_PTHREAD) 17 14 18 15 19 if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") -
branches/smartreader/csctapi/config.h
r1311 r1327 22 22 /* Debug Input/Output */ 23 23 /* #undef DEBUG_IO */ 24 //#define DEBUG_IO 124 #define DEBUG_IO 1 25 25 26 26 /* Debug Protocol */
Note:
See TracChangeset
for help on using the changeset viewer.