3rdparty: fix inclusion order of CMakeLists.txt

This is so that third-party modules pick up the INSTALL_MBEDTLS_HEADERS variable.
This commit is contained in:
Christoph M. Wintersteiger 2019-04-08 17:00:34 +01:00 committed by Janos Follath
parent d64e1e1e1c
commit 7b747fcdc9

View File

@ -179,13 +179,14 @@ endif()
include_directories(include/) include_directories(include/)
include_directories(library/) include_directories(library/)
add_subdirectory(include)
add_subdirectory(3rdparty) add_subdirectory(3rdparty)
include_directories(${thirdparty_inc}) include_directories(${thirdparty_inc})
list(APPEND libs ${thirdparty_lib}) list(APPEND libs ${thirdparty_lib})
add_definitions(${thirdparty_def}) add_definitions(${thirdparty_def})
add_subdirectory(library) add_subdirectory(library)
add_subdirectory(include)
if(ENABLE_PROGRAMS) if(ENABLE_PROGRAMS)
add_subdirectory(programs) add_subdirectory(programs)