From 4a39555eede5e0bf7c35bdf895dfb64fb0e4170b Mon Sep 17 00:00:00 2001 From: john30 Date: Sat, 28 Jan 2017 09:43:28 +0100 Subject: [PATCH] no longer warn about unused functions --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d1b209d2..53aa6314 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,7 @@ include(CheckFunctionExists) include(CheckCXXSourceRuns) include(CheckIncludeFile) -add_compile_options(-fpic -Wall -Wextra) +add_compile_options(-fpic -Wall -Wno-unused-function -Wextra) check_include_file(arpa/inet.h HAVE_ARPA_INET_H) check_include_file(dirent.h HAVE_DIRENT_H)