From 63665a620ebc91ec452aa0d89a0fcc796e751059 Mon Sep 17 00:00:00 2001 From: Jon Shallow Date: Thu, 23 Jul 2020 14:30:19 +0100 Subject: [PATCH] cmake: Fix builds with new TinyDTLS Use autoreconf instead of autoconf --- CMakeLists.txt | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 74496c2a..08e35d2b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -192,19 +192,11 @@ function(compile_tinydtls) LOG_CONFIGURE 1) externalproject_add_step( - external_tinydtls autoheader - COMMAND "autoheader" + external_tinydtls autoreconf + COMMAND autoreconf --force --install ALWAYS 1 WORKING_DIRECTORY "${TINYDTLS_SOURCES_DIR}" DEPENDERS configure - DEPENDEES autoconf) - - externalproject_add_step( - external_tinydtls autoconf - COMMAND "autoconf" - ALWAYS 1 - WORKING_DIRECTORY "${TINYDTLS_SOURCES_DIR}" - DEPENDERS autoheader DEPENDEES download) # Let cmake know that it needs to execute the external_tinydtls target to generate those files.