mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-09 18:32:53 +03:00
cmake: Fix builds with new TinyDTLS
Use autoreconf instead of autoconf
This commit is contained in:
1 parent
e74fc73d8d
commit
63665a620e
1 file changed
+2
-10
+2
-10
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user