[prev in list] [next in list] [prev in thread] [next in thread]
List: lyx-cvs
Subject: [LyX/master] Cmake build: Warning if system boost and stdlib-debug are used together Change accordin
From: Kornel Benko <kornel () lyx ! org>
Date: 2015-09-22 13:30:15
Message-ID: 20150922133015.C9C9328025F () lyx ! lyx ! org
[Download RAW message or body]
commit 0c3624e36a132597eff544e482a1d28e06de0d12
Author: Kornel Benko <kornel@lyx.org>
Date: Tue Sep 22 15:27:35 2015 +0200
Cmake build: Warning if system boost and stdlib-debug are used together
Change according to commit d95c187b5
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5315326..a925a9e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -662,6 +662,13 @@ if(LYX_EXTERNAL_BOOST)
message(STATUS "Boost found")
message(STATUS "Boost-libs = ${Boost_LIBRARIES}")
set(Lyx_Boost_Libraries ${Boost_LIBRARIES})
+ if (LYX_STDLIB_DEBUG)
+ # Comment from Jean-Marc Lasgouttes:
+ # In general, system boost libraries are incompatible with
+ # the use of stdlib-debug in libstdc++. See ticket #9736 for
+ # details.
+ message(WARNING "Compiling LyX with stdlib-debug and system boost libraries may \
lead to crashes. Consider using '-DLYX_STDLIB_DEBUG=OFF' or using \
'-DLYX_EXTERNAL_BOOST=OFF'") + endif()
else()
message(FATAL_ERROR "Boost not found" ${Boost_ERROR_REASON})
endif()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic