It's unclear to me whether doing it target-by-target is an improvement in crypto/fipsmodule, but this otherwise does seem a bit tidier. This aligns with CMake's documentation and "modern CMake" which prefers this pattern. Change-Id: I36c81842bff8b36eeaaf5dd3e0695fb45f3376c9 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/56585 Commit-Queue: David Benjamin <davidben@google.com> Reviewed-by: Bob Beck <bbe@google.com>fips-20230428
parent
de12e3cabc
commit
0e68520eb2
11 changed files with 15 additions and 55 deletions
@ -1,12 +1,9 @@ |
||||
include_directories(../../include) |
||||
|
||||
if(FIPS) |
||||
add_executable( |
||||
test_fips |
||||
|
||||
test_fips.c |
||||
) |
||||
|
||||
add_dependencies(test_fips global_target) |
||||
target_link_libraries(test_fips crypto) |
||||
endif() |
||||
|
Loading…
Reference in new issue