mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-25 15:55:37 +01:00
Create link to include/mbedtls only when testing is enabled
This commit is contained in:
parent
b4128bd0c0
commit
ac859f39bd
@ -222,7 +222,6 @@ if(ENABLE_TESTING)
|
|||||||
COMMAND mv DartConfiguration.tcl.bak DartConfiguration.tcl
|
COMMAND mv DartConfiguration.tcl.bak DartConfiguration.tcl
|
||||||
)
|
)
|
||||||
endif(UNIX)
|
endif(UNIX)
|
||||||
endif()
|
|
||||||
|
|
||||||
# Make scripts needed for testing available in an out-of-source build.
|
# Make scripts needed for testing available in an out-of-source build.
|
||||||
if (NOT ${CMAKE_CURRENT_BINARY_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|
if (NOT ${CMAKE_CURRENT_BINARY_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
@ -232,3 +231,4 @@ if (NOT ${CMAKE_CURRENT_BINARY_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|
|||||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/DartConfiguration.tcl
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/DartConfiguration.tcl
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/DartConfiguration.tcl COPYONLY)
|
${CMAKE_CURRENT_BINARY_DIR}/DartConfiguration.tcl COPYONLY)
|
||||||
endif()
|
endif()
|
||||||
|
endif()
|
||||||
|
@ -11,6 +11,6 @@ if(INSTALL_MBEDTLS_HEADERS)
|
|||||||
endif(INSTALL_MBEDTLS_HEADERS)
|
endif(INSTALL_MBEDTLS_HEADERS)
|
||||||
|
|
||||||
# Make config.h available in an out-of-source build. ssl-opt.sh requires it.
|
# Make config.h available in an out-of-source build. ssl-opt.sh requires it.
|
||||||
if (NOT ${CMAKE_CURRENT_BINARY_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|
if (ENABLE_TESTING AND NOT ${CMAKE_CURRENT_BINARY_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
link_to_source(mbedtls)
|
link_to_source(mbedtls)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user