Commit a07483a
committed
fix: fix crash on Arch when creating new tab & fix cmake compile error
1.
decoder.decodeLine(&_image[loc(0,cursorPos.y())],_usedColumns,_lineProperties[cursorPos.y()]);
will raise an error when _lineProperties is empty. Check and early
return in this case.
2. CMake Error at 3rdparty/terminalwidget/CMakeLists.txt:1
(cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max>
syntax
to tell CMake that the project requires at least <min> but has been
updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
... so we have to increase cmake_minimum_required
After those fix deepin-terminal can be compiled and run on Archlinux
without obvious bug.1 parent 625d610 commit a07483a
2 files changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3338 | 3338 | | |
3339 | 3339 | | |
3340 | 3340 | | |
| 3341 | + | |
| 3342 | + | |
3341 | 3343 | | |
3342 | 3344 | | |
3343 | 3345 | | |
| |||
0 commit comments