external/boringssl/crypto/lhash/CMakeLists.txt
raw| 1 | include_directories(../../include) |
| 2 | |
| 3 | add_library( |
| 4 | lhash |
| 5 | |
| 6 | OBJECT |
| 7 | |
| 8 | lhash.c |
| 9 | ) |
| 10 | |
| 11 | if(ENABLE_TESTS) |
| 12 | add_executable( |
| 13 | lhash_test |
| 14 | |
| 15 | lhash_test.c |
| 16 | |
| 17 | $<TARGET_OBJECTS:test_support> |
| 18 | ) |
| 19 | |
| 20 | target_link_libraries(lhash_test crypto) |
| 21 | add_dependencies(all_tests lhash_test) |
| 22 | endif() |