mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 14:48:38 +00:00
Use current source paths for config file creation command
That way, the project integrate more nicely when used as a cmake sub-project.
This commit is contained in:
parent
72ea31b026
commit
533751f98f
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ find_package(Perl)
|
|||
if(PERL_FOUND)
|
||||
|
||||
# If NULL Entropy is configured, display an appropriate warning
|
||||
execute_process(COMMAND ${PERL_EXECUTABLE} ${CMAKE_SOURCE_DIR}/scripts/config.pl -f ${CMAKE_SOURCE_DIR}/include/mbedtls/config.h get MBEDTLS_TEST_NULL_ENTROPY
|
||||
execute_process(COMMAND ${PERL_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/scripts/config.pl -f ${CMAKE_CURRENT_SOURCE_DIR}/include/mbedtls/config.h get MBEDTLS_TEST_NULL_ENTROPY
|
||||
RESULT_VARIABLE result)
|
||||
if(${result} EQUAL 0)
|
||||
message(WARNING ${NULL_ENTROPY_WARNING})
|
||||
|
|
Loading…
Reference in a new issue