mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
fix xwindow bug
fix xwindow bug
This commit is contained in:
parent
17ce83e612
commit
5461538396
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user