diff --git a/pdftoipe/Makefile b/pdftoipe/Makefile
index 349285d..d2e6f40 100644
--- a/ipe-tools/pdftoipe/Makefile
+++ b/ipe-tools/pdftoipe/Makefile
@@ -23,7 +23,7 @@ else
   TARGET   = pdftoipe
 endif
 
-CXXFLAGS += -Wno-write-strings -std=c++17
+CXXFLAGS += -Wno-write-strings -std=c++20
 
 all: $(TARGET)
 
