We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50a89d5 commit 4d089bfCopy full SHA for 4d089bf
third_party/tiff-4.7.1/BUILD.bazel
@@ -180,9 +180,12 @@ cc_library(
180
# VERSION file is now valid C++ to prevent collision with <version> on Windows
181
# Added to hdrs (not textual_hdrs) so Bazel properly tracks it as a dependency
182
"VERSION",
183
- # Lowercase version for Bazel's case-sensitive dependency tracking on Windows
184
- "version",
185
- ],
+ ] + select({
+ # On Windows (case-insensitive filesystem), Bazel tracks the include as lowercase
+ # 'version' even though the file is 'VERSION'. We add it so Bazel can find it.
186
+ "@platforms//os:windows": ["version"],
187
+ "//conditions:default": [],
188
+ }),
189
implementation_deps = [":tiff_impl"],
190
includes = [
191
"libtiff",
0 commit comments