mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-19 20:27:26 -05:00
Added decoding and error correction on the NID fields: NAC and DUID. Making use of the IT++ library for BCH encoding/decoding.
This commit is contained in:
20
cmake/FindITPP.cmake
Normal file
20
cmake/FindITPP.cmake
Normal file
@@ -0,0 +1,20 @@
|
||||
# Find ITPP
|
||||
|
||||
FIND_PATH(ITPP_INCLUDE_DIR itpp/itcomm.h)
|
||||
|
||||
SET(ITPP_NAMES ${ITPP_NAMES} itpp libitpp libitpp.dll)
|
||||
FIND_LIBRARY(ITPP_LIBRARY NAMES ${ITPP_NAMES} PATH)
|
||||
|
||||
IF (ITPP_INCLUDE_DIR AND ITPP_LIBRARY)
|
||||
SET(ITPP_FOUND TRUE)
|
||||
ENDIF (ITPP_INCLUDE_DIR AND ITPP_LIBRARY)
|
||||
|
||||
IF (ITPP_FOUND)
|
||||
IF (NOT ITPP_FIND_QUIETLY)
|
||||
MESSAGE (STATUS "Found ITPP: ${ITPP_LIBRARY}")
|
||||
ENDIF (NOT ITPP_FIND_QUIETLY)
|
||||
ELSE (ITPP_FOUND_FOUND)
|
||||
IF (ITPP_FIND_REQUIRED)
|
||||
MESSAGE (FATAL_ERROR "Could not find ITPP")
|
||||
ENDIF (ITPP_FIND_REQUIRED)
|
||||
ENDIF (ITPP_FOUND)
|
||||
Reference in New Issue
Block a user