[Pkg-voip-commits] [bctoolbox] 17/57: fix exception.cc cmake conditionnal build

daniel at gnoutcheff.name daniel at gnoutcheff.name
Thu Mar 30 04:31:32 UTC 2017


This is an automated email from the git hooks/post-receive script.

gnoutchd-guest pushed a commit to branch debian/sid
in repository bctoolbox.

commit 02b38315f563b5f83ffed2f3762318019b8bd22d
Author: Jehan Monnier <jehan.monnier at linphone.org>
Date:   Fri Dec 2 14:01:05 2016 +0100

    fix exception.cc cmake conditionnal build
---
 src/CMakeLists.txt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9b571d3..350e16f 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -28,10 +28,11 @@ set(BCTOOLBOX_C_SOURCE_FILES
 )
 
 set_source_files_properties(utils/exception.cc PROPERTIES COMPILE_FLAGS -std=c++11)
+set(BCTOOLBOX_CXX_SOURCE_FILES containers/map.cc)
+
 if(HAVE_EXECINFO) 
-	set(BCTOOLBOX_CXX_SOURCE_FILES utils/exception.cc)
+	list(APPEND BCTOOLBOX_CXX_SOURCE_FILES utils/exception.cc)
 endif()
-set(BCTOOLBOX_CXX_SOURCE_FILES containers/map.cc)
 
 if(MBEDTLS_FOUND)
 	list(APPEND BCTOOLBOX_C_SOURCE_FILES crypto/mbedtls.c)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/bctoolbox.git



More information about the Pkg-voip-commits mailing list