Moved add_definitions in cmake files to /src/ so that all components and tests use the same definitions when compiling sources

Signed-off-by: Dennis Potman <dennis.potman@adlinktech.com>
This commit is contained in:
Dennis Potman 2020-02-26 10:17:01 +01:00 committed by eboasson
parent b3c5a8d4fc
commit 323de40cba
6 changed files with 44 additions and 46 deletions

View file

@ -11,8 +11,6 @@
#
include (GenerateExportHeader)
find_package(OpenSSL)
PREPEND(srcs_accesscontrol "${CMAKE_CURRENT_LIST_DIR}/src"
access_control_objects.c
access_control_parser.c

View file

@ -11,8 +11,6 @@
#
include (GenerateExportHeader)
find_package(OpenSSL)
PREPEND(srcs_cryptographic "${CMAKE_CURRENT_LIST_DIR}/src"
crypto_cipher.c
crypto_key_exchange

View file

@ -10,7 +10,6 @@
# SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
#
include(CUnit)
find_package(OpenSSL)
set(security_auth_test_sources
"common/src/loader.c"