mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
disable checked iterators for msvc release builds to get maximum speed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15568 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a932a994f0
commit
213c04d0a5
@ -84,7 +84,9 @@ if(MSVC)
|
||||
endif(MSVC_IDE)
|
||||
|
||||
ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE)
|
||||
|
||||
|
||||
# disable checked iterators for msvc release builds to get maximum speed
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /D_SECURE_SCL=0")
|
||||
else(MSVC)
|
||||
add_definitions(-DBOOST_USER_CONFIG="<config.h>")
|
||||
endif(MSVC)
|
||||
|
Loading…
Reference in New Issue
Block a user