commit f3634111c5c3a794478a6f04fb09453408b8efc1
parent 9b864b298d564e4bd6cafc2a1cece0c6e22e284e
Author: Frederic Cambus <fred@statdns.com>
Date: Tue, 30 Mar 2021 21:21:40 +0200
Add -std=c++11 in CMakeLists.txt, StatZone requires C++11.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -46,7 +46,7 @@ if(NOT HAVE_PLEDGE)
set (SRC ${SRC} compat/pledge.cpp)
endif()
-add_definitions(-D_GNU_SOURCE -Wall -Wextra -pedantic)
+add_definitions(-D_GNU_SOURCE -Wall -Wextra -std=c++11 -pedantic)
add_executable(statzone ${SRC})
install(TARGETS statzone DESTINATION ${CMAKE_INSTALL_BINDIR})