aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-15 12:03:15 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-15 12:03:15 +0200
commit85a6d12a647a63e578260e942dec844d2f5ab66e (patch)
treefef16cfbec2abc8a6b6c837dd9d5cf938bcd749c /Makefile
parent7153a258427d3e401914de800bfdf1c7165cab71 (diff)
downloadEpisodeBrowser-85a6d12a647a63e578260e942dec844d2f5ab66e.tar.gz
Use std::optional instead of std::unique_ptr for try_make.
This requires C++17.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 202fd6e..1ab1213 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ PL = pl/cfg.pl pl/episode_data.pl pl/local_episodes.pl pl/track_episodes.pl
OBJ = $(B)common.obj $(B)datalistview.obj $(B)episodelistview.obj $(B)listview.obj $(B)pl.obj $(B)resource.obj
CC = swipl-ld
-CFLAGS += -Wall -Wpedantic -O -ld-options,-mwindows
+CFLAGS += -Wall -Wpedantic -O -cc-options,-std=c++17 -ld-options,-mwindows
CFLAGS += -DUNICODE -D_UNICODE
LDFLAGS += -lcomctl32 -luxtheme