From 5461538396d47a63bc9566e606dd32fdec4a40af Mon Sep 17 00:00:00 2001 From: pebble2015 Date: Sun, 27 Aug 2017 14:13:18 +0800 Subject: [PATCH] fix xwindow bug fix xwindow bug --- CMakeLists.txt | 2 +- source/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dfc81238..482fea53 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ project(xlnt_all) set(COMBINED_PROJECT TRUE) # Library type -option(STATIC "Set to ON to build xlnt as a static library instead of a shared library" ON) +option(STATIC "Set to ON to build xlnt as a static library instead of a shared library" OFF) # Optional components option(TESTS "Set to OFF to skip building test executable (in ./tests)" ON) diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 0fa63cf8..a8cd9000 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -31,7 +31,7 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "GNU") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-unknown-pragmas") elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DNDEBUG -Werror -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-padded -Wno-documentation-unknown-command -Wno-unknown-pragmas") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DNDEBUG -Weverything -Werror -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-padded -Wno-documentation-unknown-command -Wno-unknown-pragmas") endif() if(APPLE)