[opengm] 309/386: defined CI to detect travis

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Aug 31 08:38:17 UTC 2016


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

ghisvail-guest pushed a commit to branch debian/master
in repository opengm.

commit 029cefbfe239650c90aa90d8ac0e5eb6e2a030c4
Author: DerThorsten <thorsten.beier at iwr.uni-heidelberg.de>
Date:   Fri Dec 11 14:21:25 2015 -0300

    defined CI to detect travis
---
 CMakeLists.txt | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5b94d0d..e92095f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -95,6 +95,10 @@ OPTION(BUILD_MATLAB_WRAPPER "Build matlab wrapper" OFF)
 ###Grante needs C++11. Since we have not tested OpenGM under this standard yet, using Grante is realy experimental!!!
 ###OPTION(WITH_GRANTE "Include wrapper for grante" OFF)
 
+if(CI)
+    add_definitions(-DCI)
+endif()
+
 #--------------------------------------------------------------
 # Cplex
 #--------------------------------------------------------------
@@ -110,6 +114,9 @@ else()
 endif()
 
 
+
+
+
 #--------------------------------------------------------------
 # AD3
 #--------------------------------------------------------------

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opengm.git



More information about the debian-science-commits mailing list