Fix regression: Ensure that all samples are tested via ctest
Pass BUILD_ENCLAVES option to test-samples.cmake
@@ -86,7 +86,8 @@ if (WIN32)
COMMAND
${CMAKE_COMMAND} -DHAS_QUOTE_PROVIDER=${HAS_QUOTE_PROVIDER}
-DSOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR}
- -DBUILD_DIR=${PROJECT_BINARY_DIR} -DPREFIX_DIR=${CMAKE_INSTALL_PREFIX}
+ -DBUILD_ENCLAVES=${BUILD_ENCLAVES} -DBUILD_DIR=${PROJECT_BINARY_DIR}
+ -DPREFIX_DIR=${CMAKE_INSTALL_PREFIX}
-DNUGET_PACKAGE_PATH=${NUGET_PACKAGE_PATH}
-DCOMPILER_SUPPORTS_SNMALLOC=on -DUSE_DEBUG_MALLOC=${USE_DEBUG_MALLOC} -P
${CMAKE_CURRENT_SOURCE_DIR}/test-samples.cmake)
@@ -96,7 +97,8 @@ else ()
COMMAND
${CMAKE_COMMAND} -DHAS_QUOTE_PROVIDER=${HAS_QUOTE_PROVIDER}
-DSOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR}
- -DBUILD_DIR=${PROJECT_BINARY_DIR} -DPREFIX_DIR=${CMAKE_INSTALL_PREFIX}
+ -DBUILD_ENCLAVES=${BUILD_ENCLAVES} -DBUILD_DIR=${PROJECT_BINARY_DIR}
+ -DPREFIX_DIR=${CMAKE_INSTALL_PREFIX}
-DCOMPILER_SUPPORTS_SNMALLOC=${COMPILER_SUPPORTS_SNMALLOC}
-DUSE_DEBUG_MALLOC=${USE_DEBUG_MALLOC} -P
${CMAKE_CURRENT_SOURCE_DIR}/test-samples.cmake)
