From e07efb497ea76df105aba0b2ef2d02b6adf51ef5 Mon Sep 17 00:00:00 2001 From: Dengke Tang Date: Fri, 10 Jun 2022 13:52:46 -0700 Subject: [PATCH] bring back the skip if not found (#365) --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.py b/setup.py index 027bfa7ca..ab99f8e2b 100644 --- a/setup.py +++ b/setup.py @@ -167,6 +167,10 @@ def _build_dependency_impl(self, aws_lib, build_dir, install_path, osx_arch=None build_type = 'Debug' if self.debug else 'RelWithDebInfo' + if not os.path.exists(os.path.join(lib_source_dir, 'CMakeLists.txt')): + print("--- Skipping dependency: '{}' source not found ---".format(aws_lib.name)) + return + if osx_arch: print(f"--- Building dependency: {aws_lib.name} ({osx_arch}) ---") else: