extern/CRCpp/CMakeLists.txt
raw| 1 | # SPDX-License-Identifier: BSL-1.0 |
| 2 | # Copyright © Andy Maloney <[email protected]> |
| 3 | |
| 4 | # CRCpp from here: https://github.com/d-bahr/CRCpp |
| 5 | |
| 6 | target_compile_definitions( ${PROJECT_NAME} |
| 7 | PRIVATE |
| 8 | CRCPP_USE_CPP11 |
| 9 | CRCPP_BRANCHLESS |
| 10 | ) |
| 11 | |
| 12 | target_sources( ${PROJECT_NAME} |
| 13 | PRIVATE |
| 14 | inc/CRC.h |
| 15 | ) |
| 16 | |
| 17 | target_include_directories( ${PROJECT_NAME} |
| 18 | PRIVATE |
| 19 | inc |
| 20 | ) |