Commit a6fee01
authored
Fix CMake 4.0+ whitespace error (#177)
Compiling on my system without this would fail like so:
```
-- Generating done (0.1s)
CMake Error at cmake/FindFFmpeg.cmake:245 (add_library):
Target "FFmpeg::avcodec" links to item " /usr/lib/libavcodec.so avcodec"
which has leading or trailing whitespace. This is now an error according
to policy CMP0004.
Call Stack (most recent call first):
CMakeLists.txt:54 (find_package)
```
Behaviour changed in CMake 4.0
https://cmake.org/cmake/help/latest/policy/CMP0004.html1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
| 249 | + | |
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| |||
0 commit comments