diff --git a/CMakeLists.txt b/CMakeLists.txt index b36f24c..d6bf7f1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,6 +53,23 @@ if(NOT ${use_installed_dependencies}) endif() enable_testing() +else() + if (NOT azure_macro_utils_cFOUND) + find_package(azure_macro_utils_c REQUIRED CONFIG) + include_directories(${MACRO_UTILS_INC_FOLDER}) + endif () + if (NOT umock_cFOUND) + find_package(umock_c REQUIRED CONFIG) + include_directories(${UMOCK_C_INC_FOLDER}) + endif () + if (NOT azure_c_shared_utility_FOUND) + find_package(azure_c_shared_utility REQUIRED CONFIG) + include_directories(${SHARED_UTIL_INC_FOLDER}) + endif () + + include(${azure_c_shared_utility_DIR}/azure_c_shared_utilityConfig.cmake) + include(${azure_c_shared_utility_DIR}/azure_c_shared_utilityFunctions.cmake) + include(${azure_c_shared_utility_DIR}/azure_iot_build_rules.cmake) endif() set(run_e2e_tests ${original_run_e2e_tests}) diff --git a/deps/azure-c-testrunnerswitcher b/deps/azure-c-testrunnerswitcher index a5e1543..338cd43 160000 --- a/deps/azure-c-testrunnerswitcher +++ b/deps/azure-c-testrunnerswitcher @@ -1 +1 @@ -Subproject commit a5e1543387c41c58e3bf8a439b18e755b7e5c904 +Subproject commit 338cd4319931622da015f0767ac35fd04472199b diff --git a/deps/azure-macro-utils-c b/deps/azure-macro-utils-c index b981b9a..38729b4 160000 --- a/deps/azure-macro-utils-c +++ b/deps/azure-macro-utils-c @@ -1 +1 @@ -Subproject commit b981b9a91ddb63ef5dc0c0bde9a636b93c5cf7a0 +Subproject commit 38729b4b7ac3ea8b7d71e394782b861ecb25193e diff --git a/deps/c-utility b/deps/c-utility index 1ce85ea..f064219 160000 --- a/deps/c-utility +++ b/deps/c-utility @@ -1 +1 @@ -Subproject commit 1ce85ea5bf78784da91ff81d20700ca1be90ca7c +Subproject commit f0642196af85aeb4f2717d9cc11176290f321fb8 diff --git a/deps/umock-c b/deps/umock-c index 4fddb18..92772d9 160000 --- a/deps/umock-c +++ b/deps/umock-c @@ -1 +1 @@ -Subproject commit 4fddb18c10b075e8d69511630b31375e72586a45 +Subproject commit 92772d9d8317a37dd0b656e95877ffb03bc67e92