mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 16:35:41 +01:00
Revert "tests: Use parent module includes when used as a submodule"
This reverts commit 120d571e8e
.
Conflicts:
* tests/CMakeLists.txt:
* target_include_directories: the instruction whose addition is to
be reverted has changed. Remove what is there now.
This commit is contained in:
parent
5748757615
commit
1a9c624fce
@ -50,10 +50,6 @@ function(add_test_suite suite_name)
|
|||||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
add_executable(test_suite_${data_name} test_suite_${data_name}.c)
|
add_executable(test_suite_${data_name} test_suite_${data_name}.c)
|
||||||
target_link_libraries(test_suite_${data_name} ${libs})
|
target_link_libraries(test_suite_${data_name} ${libs})
|
||||||
target_include_directories(test_suite_${data_name}
|
|
||||||
PUBLIC ${CMAKE_SOURCE_DIR}/include/
|
|
||||||
PUBLIC ${CMAKE_SOURCE_DIR}/crypto/include/
|
|
||||||
PUBLIC ${CMAKE_SOURCE_DIR}/crypto/library/)
|
|
||||||
|
|
||||||
if(${data_name} MATCHES ${SKIP_TEST_SUITES_REGEX})
|
if(${data_name} MATCHES ${SKIP_TEST_SUITES_REGEX})
|
||||||
message(STATUS "The test suite ${data_name} will not be executed.")
|
message(STATUS "The test suite ${data_name} will not be executed.")
|
||||||
|
@ -6,8 +6,7 @@ CFLAGS ?= -O2
|
|||||||
WARNING_CFLAGS ?= -Wall -Wextra
|
WARNING_CFLAGS ?= -Wall -Wextra
|
||||||
LDFLAGS ?=
|
LDFLAGS ?=
|
||||||
|
|
||||||
CRYPTO_INCLUDES ?= -I../include
|
LOCAL_CFLAGS = $(WARNING_CFLAGS) -I../include -I../library -D_FILE_OFFSET_BITS=64
|
||||||
LOCAL_CFLAGS = $(WARNING_CFLAGS) $(CRYPTO_INCLUDES) -I../library -D_FILE_OFFSET_BITS=64
|
|
||||||
LOCAL_LDFLAGS = -L../library \
|
LOCAL_LDFLAGS = -L../library \
|
||||||
-lmbedtls$(SHARED_SUFFIX) \
|
-lmbedtls$(SHARED_SUFFIX) \
|
||||||
-lmbedx509$(SHARED_SUFFIX) \
|
-lmbedx509$(SHARED_SUFFIX) \
|
||||||
|
Loading…
Reference in New Issue
Block a user