diff options
author | David Benjamin <davidben@google.com> | 2023-02-04 20:06:30 -0500 |
---|---|---|
committer | Boringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-02-14 20:26:56 +0000 |
commit | 0e68520eb27b1f37038e9d0772cfee1d015b50c3 (patch) | |
tree | 7cf105f0a92c22c3d2ea4a4c29cac46b2d7f504a /decrepit | |
parent | de12e3cabcb466cdf96c90d9bff0d919af71d561 (diff) | |
download | boringssl-0e68520eb27b1f37038e9d0772cfee1d015b50c3.zip boringssl-0e68520eb27b1f37038e9d0772cfee1d015b50c3.tar.gz boringssl-0e68520eb27b1f37038e9d0772cfee1d015b50c3.tar.bz2 |
Specify -Iinclude with the crypto target.
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>
Diffstat (limited to 'decrepit')
-rw-r--r-- | decrepit/CMakeLists.txt | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/decrepit/CMakeLists.txt b/decrepit/CMakeLists.txt index 2c10f0e..38d6f5d 100644 --- a/decrepit/CMakeLists.txt +++ b/decrepit/CMakeLists.txt @@ -1,5 +1,3 @@ -include_directories(../include) - add_library( decrepit @@ -21,9 +19,7 @@ add_library( x509/x509_decrepit.c xts/xts.c ) - add_dependencies(decrepit global_target) - target_link_libraries(decrepit crypto ssl) add_executable( @@ -38,9 +34,7 @@ add_executable( $<TARGET_OBJECTS:boringssl_gtest_main> ) - add_dependencies(decrepit_test global_target) - target_link_libraries(decrepit_test test_support_lib boringssl_gtest decrepit crypto) add_dependencies(all_tests decrepit_test) |