File tree 2 files changed +9
-9
lines changed
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -228,13 +228,13 @@ if(ENABLE_TESTING)
228
228
COMMAND mv DartConfiguration.tcl.bak DartConfiguration.tcl
229
229
)
230
230
endif (UNIX )
231
- endif ()
232
231
233
- # Make scripts needed for testing available in an out-of-source build.
234
- if (NOT ${CMAKE_CURRENT_BINARY_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR} )
235
- link_to_source(scripts)
236
- # Copy (don't link) DartConfiguration.tcl, needed for memcheck, to
237
- # keep things simple with the sed commands in the memcheck target.
238
- configure_file (${CMAKE_CURRENT_SOURCE_DIR} /DartConfiguration.tcl
239
- ${CMAKE_CURRENT_BINARY_DIR} /DartConfiguration.tcl COPYONLY )
232
+ # Make scripts needed for testing available in an out-of-source build.
233
+ if (NOT ${CMAKE_CURRENT_BINARY_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR} )
234
+ link_to_source(scripts)
235
+ # Copy (don't link) DartConfiguration.tcl, needed for memcheck, to
236
+ # keep things simple with the sed commands in the memcheck target.
237
+ configure_file (${CMAKE_CURRENT_SOURCE_DIR} /DartConfiguration.tcl
238
+ ${CMAKE_CURRENT_BINARY_DIR} /DartConfiguration.tcl COPYONLY )
239
+ endif ()
240
240
endif ()
Original file line number Diff line number Diff line change @@ -11,6 +11,6 @@ if(INSTALL_MBEDTLS_HEADERS)
11
11
endif (INSTALL_MBEDTLS_HEADERS)
12
12
13
13
# Make config.h available in an out-of-source build. ssl-opt.sh requires it.
14
- if (NOT ${CMAKE_CURRENT_BINARY_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR} )
14
+ if (ENABLE_TESTING AND NOT ${CMAKE_CURRENT_BINARY_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR} )
15
15
link_to_source(mbedtls)
16
16
endif ()
You can’t perform that action at this time.
0 commit comments