Skip to content

Commit

Permalink
bring back the skip if not found (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
TingDaoK authored Jun 10, 2022
1 parent f10f551 commit e07efb4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e07efb4

Please sign in to comment.