From 1c261206545f1e7a337d680324a957cf70cf4f1e Mon Sep 17 00:00:00 2001 From: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com> Date: Fri, 5 Feb 2021 16:23:31 -0800 Subject: [PATCH] Uncomment temaplte's find_package(core) now that it is released (#1616) Co-authored-by: Anton Kolesnyk --- sdk/template/azure-template/CMakeLists.txt | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/sdk/template/azure-template/CMakeLists.txt b/sdk/template/azure-template/CMakeLists.txt index 46d65982b..09ddf7741 100644 --- a/sdk/template/azure-template/CMakeLists.txt +++ b/sdk/template/azure-template/CMakeLists.txt @@ -19,13 +19,12 @@ include(AzureGlobalCompileOptions) az_vcpkg_integrate() -# Disable dependency on azure-core until azure-core has released to vcpkg -# if(NOT AZ_ALL_LIBRARIES) -# find_package(azure-core-cpp CONFIG QUIET) -# if(NOT azure-core-cpp_FOUND) -# find_package(azure-core-cpp REQUIRED) -# endif() -# endif() +if(NOT AZ_ALL_LIBRARIES) + find_package(azure-core-cpp CONFIG QUIET) + if(NOT azure-core-cpp_FOUND) + find_package(azure-core-cpp REQUIRED) + endif() +endif() set( AZURE_TEMPLATE_HEADER