Skip to content

Commit

Permalink
Exclude scripts dirs from installed header globbing (#553)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: flashlight/flashlight#553

Kill `scripts` directories that contain no headers but are installed as empty dirs (e.g. `objdet/scripts`)

Reviewed By: andresy

Differential Revision: D27887412

fbshipit-source-id: 3e03c09abef43a91e485957744ce8748cd561996
  • Loading branch information
jacobkahn authored and facebook-github-bot committed Apr 20, 2021
1 parent 96beb1a commit 3852550
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/InternalUtils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ function(setup_install_headers HEADER_DIR DEST_DIR)
PATTERN "test*" EXCLUDE
PATTERN "tests" EXCLUDE
PATTERN "tools" EXCLUDE
PATTERN "scripts" EXCLUDE
PATTERN "plugins" EXCLUDE
PATTERN "backend" EXCLUDE
PATTERN "examples" EXCLUDE
Expand Down

0 comments on commit 3852550

Please sign in to comment.