Refactor CMakeLists.txt OpenSSL handling

First, we do not include openssl globally using `include_directories()`,
as most modules don't need it. Further, it is linked into SECURITY, and
removed from all other targets (they don't need it, only SECURITY).

Finally, remove a header include in NR PDCP that is not needed
This commit is contained in:
Robert Schmidt
2023-07-07 08:35:28 +02:00
parent 439b6027cf
commit 25edebb593
2 changed files with 10 additions and 12 deletions
@@ -24,7 +24,6 @@
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <openssl/cmac.h>
#include "openair3/SECU/secu_defs.h"
#include "openair3/SECU/key_nas_deriver.h"