cmake: Fix builds with new TinyDTLS

Use autoreconf instead of autoconf
This commit is contained in:
Jon Shallow committed 2020-07-23 14:30:19 +01:00
1 parent e74fc73d8d
commit 63665a620e
1 file changed
+2 -10
+2 -10
View File
@@ -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.