Skip to content

Commit

Permalink
cmake: Fix builds with new TinyDTLS
Browse files Browse the repository at this point in the history
Use autoreconf instead of autoconf
  • Loading branch information
mrdeep1 committed Jul 23, 2020
1 parent e74fc73 commit 63665a6
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 63665a6

Please sign in to comment.