mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
switch ENABLE_ASSERTIONS macro with _DEBUG macro
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15567 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0a48dce7ac
commit
a932a994f0
@ -15,11 +15,6 @@ set(LYX_DATE "not released yet")
|
||||
#TODO
|
||||
set(VERSION_INFO "CMake Build")
|
||||
|
||||
#TODO: add command line option
|
||||
# enable by default because the cmake
|
||||
# build is mostly used for development
|
||||
set(ENABLE_ASSERTIONS 1)
|
||||
|
||||
if(WIN32)
|
||||
set(USE_WINDOWS_PACKAGING 1)
|
||||
else(WIN32)
|
||||
|
@ -136,8 +136,9 @@
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#cmakedefine ENABLE_ASSERTIONS 1
|
||||
#ifdef _DEBUG
|
||||
# define ENABLE_ASSERTIONS 1
|
||||
#endif
|
||||
|
||||
#if !defined(ENABLE_ASSERTIONS)
|
||||
# define BOOST_DISABLE_ASSERTS 1
|
||||
|
Loading…
Reference in New Issue
Block a user