Merge pull request #3777 from elms/cmake/configure_test_paths

cmake: configure `test_paths.h`
This commit is contained in:
David Garske
2021-02-18 15:02:19 -08:00
committed by GitHub

View File

@@ -1233,6 +1233,10 @@ if(WOLFSSL_CONFIG_H)
add_definitions("-DHAVE_CONFIG_H")
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake/config.in"
"${CMAKE_CURRENT_BINARY_DIR}/config.h" )
set(abs_top_srcdir ${CMAKE_CURRENT_SOURCE_DIR})
set(abs_top_builddir ${CMAKE_CURRENT_BINARY_DIR})
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/wolfcrypt/test/test_paths.h.in"
"${CMAKE_CURRENT_BINARY_DIR}/wolfcrypt/test/test_paths.h" )
endif()
# Suppress some warnings about separate compilation, inlining