downgrade needed c++ to 17

This commit is contained in:
Aaron Liu 2024-02-01 17:13:06 -05:00
parent cc4b4b30bd
commit 4e1709a7c5
No known key found for this signature in database
GPG key ID: 2D4DA57B12065A35
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ The shell will expand wildcards. By default, thumbnails and file names will be d
### All platforms: Build from source
Our makefile currently only supports `g++`. It should be possible to compile `tiv` manually using any of your favorite compilers that support C++20 and Unix headers (`ioctl.h`, specifically) or `windows.h`. PRs are welcome.
Our makefile currently only supports `g++`. It should be possible to compile `tiv` manually using any of your favorite compilers that support C++17 and Unix headers (`ioctl.h` and `sysexits.h`, specifically) or `windows.h`. PRs are welcome.
```sh
git clone https://github.com/stefanhaustein/TerminalImageViewer.git

View file

@ -12,7 +12,7 @@ prefix ?= /usr/local
exec_prefix ?= $(prefix)
bindir ?= $(exec_prefix)/bin
override CXXFLAGS += -std=c++2a -Wall -fexceptions
override CXXFLAGS += -std=c++17 -Wall -fexceptions
override LDFLAGS += -pthread
all: $(PROGNAME)