wolfssl
wolfssl copied to clipboard
CMakeLists.txt is broken in the same manner as configure.ac, interface configure_file() needs to be used not file()
Cmake is like autoconf in that can't track dependencies done using low level IO commands. In order to have a repeatable build you need to use configure_file(). All of:
set(OPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/wolfssl/options.h")
file(REMOVE ${OPTION_FILE})
file(APPEND ${OPTION_FILE} "/* wolfssl options.h\n")
...
Needs to be fixed, otherwise you have same build problems in cmake as you have today in autoconf.
Hi @BrianAker, thanks for pointing this out. I'll fix this at some point in the near future.