mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Cmake build: Remove support for concept checks.
See also commit 7f4101a
This commit is contained in:
parent
e1938aa240
commit
0af49debee
@ -142,7 +142,6 @@ LYX_OPTION(PROGRAM_SUFFIX "Append version suffix to binaries" ON GCC)
|
||||
LYX_OPTION(DEBUG_GLIBC "Enable libstdc++ debug mode" OFF GCC)
|
||||
LYX_OPTION(DEBUG_GLIBC_PEDANTIC "Enable libstdc++ pedantic debug mode" OFF GCC)
|
||||
LYX_OPTION(STDLIB_DEBUG "Use debug stdlib" OFF GCC)
|
||||
LYX_OPTION(CONCEPT_CHECKS "Enable concept-checks" OFF GCC)
|
||||
LYX_OPTION(PROFILE "Build with options for gprof" OFF GCC)
|
||||
LYX_OPTION(ENABLE_CXX11 "Build with options for c++11-mode" OFF GCC)
|
||||
|
||||
@ -529,9 +528,6 @@ if(NOT MSVC)
|
||||
if(LYX_STDLIB_DEBUG)
|
||||
set(LYX_CXX_FLAGS "${LYX_CXX_FLAGS} -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC")
|
||||
endif()
|
||||
if(LYX_CONCEPT_CHECKS)
|
||||
set(LYX_CXX_FLAGS "${LYX_CXX_FLAGS} -D_GLIBCPP_CONCEPT_CHECKS")
|
||||
endif()
|
||||
set(CMAKE_CXX_FLAGS "${LYX_CXX_FLAGS} -fno-strict-aliasing " CACHE TYPE STRING FORCE)
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${LYX_CXX_FLAGS} -fno-strict-aliasing -O0 -g3 -D_DEBUG" CACHE TYPE STRING FORCE)
|
||||
if(MINGW)
|
||||
|
@ -156,7 +156,6 @@ Build options
|
||||
-- LYX_DEBUG_GLIBC = OFF : Enable libstdc++ debug mode
|
||||
-- LYX_DEBUG_GLIBC_PEDANTIC = OFF : Enable libstdc++ pedantic debug mode
|
||||
-- LYX_STDLIB_DEBUG = OFF : Use debug stdlib
|
||||
-- LYX_CONCEPT_CHECKS = OFF : Enable concept-checks
|
||||
|
||||
# MSVC specific
|
||||
-- LYX_CONSOLE = ON : Show console on Windows
|
||||
|
Loading…
Reference in New Issue
Block a user