Skip to content

Commit

Permalink
Merge pull request #532 from mrdeep1/cmake_build
Browse files Browse the repository at this point in the history
cmake: Fix builds with new TinyDTLS
  • Loading branch information
obgm authored Aug 12, 2020
2 parents e74fc73 + 63665a6 commit cbc3430
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 cbc3430

Please sign in to comment.