Skip to content

Commit

Permalink
Fix remaining instances of BUILD_CURL_TRANSPORT => TRANSPORT_CURL (#753)
Browse files Browse the repository at this point in the history
  • Loading branch information
antkmsft authored May 13, 2020
1 parent 39d9e43 commit d5ac1e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ The following compiler options are available for adding/removing project feature
Running sample with no_op HTTP implementation.
Recompile az_core with an HTTP client implementation like CURL to see sample sending network requests.

i.e. cmake -DBUILD_CURL_TRANSPORT=ON ..
i.e. cmake -DTRANSPORT_CURL=ON ..

## Running Samples

Expand Down
2 changes: 1 addition & 1 deletion sdk/core/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ elseif(AZ_PLATFORM_IMPL_NONE)
target_link_libraries(${TARGET_NAME} PRIVATE az_noplatform)
endif()

if (BUILD_CURL_TRANSPORT)
if (TRANSPORT_CURL)
target_link_libraries(${TARGET_NAME} PRIVATE az_curl)
else()
target_link_libraries(${TARGET_NAME} PRIVATE az_nohttp)
Expand Down
2 changes: 1 addition & 1 deletion sdk/platform/http_client/curl/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# SPDX-License-Identifier: MIT

if (BUILD_CURL_TRANSPORT)
if (TRANSPORT_CURL)

cmake_minimum_required (VERSION 3.10)

Expand Down

0 comments on commit d5ac1e9

Please sign in to comment.