Commit 5751b89
committed
[cmake] Force-set the ZLIB_LIBRARY
Apparently cmake sets the cache after the configuration is complete and using
FORCE updates the cache at the spot including the relevant generator expressions.
This fixes the case where we build ROOT with -Dbuiltin_zlib=Off and then LLVM
sanity checks the found zlib issuing:
```
Error evaluating generator expression:
$<TARGET_FILE:ZLIB>
No target "ZLIB"
```1 parent 686b160 commit 5751b89
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
0 commit comments