From 7b747fcdc9832e8e733078fc106a831d2a738238 Mon Sep 17 00:00:00 2001 From: "Christoph M. Wintersteiger" Date: Mon, 8 Apr 2019 17:00:34 +0100 Subject: [PATCH] 3rdparty: fix inclusion order of CMakeLists.txt This is so that third-party modules pick up the INSTALL_MBEDTLS_HEADERS variable. --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5a0921926..16d71979a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -179,13 +179,14 @@ endif() include_directories(include/) include_directories(library/) +add_subdirectory(include) + add_subdirectory(3rdparty) include_directories(${thirdparty_inc}) list(APPEND libs ${thirdparty_lib}) add_definitions(${thirdparty_def}) add_subdirectory(library) -add_subdirectory(include) if(ENABLE_PROGRAMS) add_subdirectory(programs)