| set(PKI_CXX_FLAGS "-fno-aligned-new") |
| file(STRINGS pki_sources.txt pki_sources) |
| file(STRINGS pki_test_sources.txt pki_test_sources) |
| CXX_STANDARD_REQUIRED YES |
| COMPILE_FLAGS "${PKI_CXX_FLAGS}") |
| target_compile_definitions(pki PRIVATE _BORINGSSL_LIBPKI_) |
| target_link_libraries(pki ssl crypto) |
| # encode_values_unittest.cc # Currently does a bunch of time goo.. |
| # ocsp_unittest.cc # Not sure we will keep this here.. |
| CXX_STANDARD_REQUIRED YES |
| COMPILE_FLAGS "${PKI_CXX_FLAGS}") |
| target_compile_definitions( |
| target_link_libraries(pki_test test_support_lib boringssl_gtest_main pki ssl crypto) |
| add_dependencies(all_tests pki_test) |