Skip to content

Commit 61851c2

Browse files
Bret Ambrosesfodagain
authored andcommitted
Regen
1 parent 2a65c54 commit 61851c2

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

identity/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/iotidentity-cpp-config.cmake"
122122
COMPONENT Development)
123123

124124
if(NOT CMAKE_CROSSCOMPILING)
125-
if (BUILD_TESTING)
125+
if (BUILD_TESTING AND NOT BYO_CRYPTO)
126126
add_subdirectory(tests)
127127
endif()
128128
endif()

identity/tests/v2ClientTests.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,8 @@ static std::shared_ptr<Aws::Crt::Mqtt::MqttConnection> s_createProtocolClient311
149149
}
150150
};
151151

152-
connection->OnConnectionFailure =
153-
[](Aws::Crt::Mqtt::MqttConnection &, Aws::Crt::Mqtt::OnConnectionFailureData *)
154-
{
155-
printf("Derp\n");
156-
};
152+
connection->OnConnectionFailure = [](Aws::Crt::Mqtt::MqttConnection &,
153+
Aws::Crt::Mqtt::OnConnectionFailureData *) { printf("Derp\n"); };
157154

158155
auto clientId = "test-" + Aws::Crt::UUID().ToString();
159156
connection->Connect(clientId.c_str(), true, 30, 15000, 5000);

jobs/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/iotjobs-cpp-config.cmake"
122122
COMPONENT Development)
123123

124124
if(NOT CMAKE_CROSSCOMPILING)
125-
if (BUILD_TESTING)
125+
if (BUILD_TESTING AND NOT BYO_CRYPTO)
126126
add_subdirectory(tests)
127127
endif()
128128
endif()

shadow/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/iotshadow-cpp-config.cmake"
122122
COMPONENT Development)
123123

124124
if(NOT CMAKE_CROSSCOMPILING)
125-
if (BUILD_TESTING)
125+
if (BUILD_TESTING AND NOT BYO_CRYPTO)
126126
add_subdirectory(tests)
127127
endif()
128128
endif()

0 commit comments

Comments
 (0)