We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8e5cb3 commit 784f048Copy full SHA for 784f048
llvm/utils/gn/build/libs/zlib/BUILD.gn
@@ -3,7 +3,8 @@ import("//llvm/utils/gn/build/libs/zlib/enable.gni")
3
config("zlib_config") {
4
visibility = [ ":zlib" ]
5
if (host_os == "win") {
6
- assert(zlib_path != "", "Please provide the path to zlib")
+ assert(!llvm_enable_zlib || zlib_path != "",
7
+ "Please provide the path to zlib.")
8
include_dirs = [ zlib_path ]
9
libs = [ "$zlib_path/zlib.lib" ]
10
} else {
0 commit comments