forked from wolfSSL/wolfssl
Merge pull request #3777 from elms/cmake/configure_test_paths
cmake: configure `test_paths.h`
This commit is contained in:
@@ -1233,6 +1233,10 @@ if(WOLFSSL_CONFIG_H)
|
|||||||
add_definitions("-DHAVE_CONFIG_H")
|
add_definitions("-DHAVE_CONFIG_H")
|
||||||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake/config.in"
|
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake/config.in"
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/config.h" )
|
"${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()
|
endif()
|
||||||
|
|
||||||
# Suppress some warnings about separate compilation, inlining
|
# Suppress some warnings about separate compilation, inlining
|
||||||
|
Reference in New Issue
Block a user