From db63b689e86b86440f9f18d8df0b8e5ff23f79f7 Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Wed, 11 Aug 2010 07:52:14 +0000 Subject: [PATCH] bug 1362: only enable boost assert handler in cnproc, not in full bgpcn build (which makes executables like tests in LCS/Common expect it) --- CMake/variants/BGPCN.cmake | 1 - RTCP/CNProc/CMakeLists.txt | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMake/variants/BGPCN.cmake b/CMake/variants/BGPCN.cmake index 7f872e8c98e..325125d4b24 100644 --- a/CMake/variants/BGPCN.cmake +++ b/CMake/variants/BGPCN.cmake @@ -33,7 +33,6 @@ set(BGPCN_EXE_LINKER_FLAGS_DEBUG) set(BGPCN_EXE_LINKER_FLAGS_OPT) set(BGPCN_COMPILE_DEFINITIONS -B/bgsys/drivers/ppcfloor/gnu-linux/powerpc-bgp-linux/bin - -DBOOST_ENABLE_ASSERT_HANDLER -DHAVE_BGP -DHAVE_BGP_CN -DHAVE_FCNP diff --git a/RTCP/CNProc/CMakeLists.txt b/RTCP/CNProc/CMakeLists.txt index a87a8bea1aa..756b2c76301 100644 --- a/RTCP/CNProc/CMakeLists.txt +++ b/RTCP/CNProc/CMakeLists.txt @@ -2,6 +2,8 @@ lofar_package(CNProc 1.0 DEPENDS Common Stream Interface FCNP) +add_definitions(-DBOOST_ENABLE_ASSERT_HANDLER) + include(LofarFindPackage) lofar_find_package(MASS) lofar_find_package(Boost REQUIRED) -- GitLab