[opengm] 26/386: Fix gurobi library dependency include for tests
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Aug 31 08:35:00 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 49cf0d3b1ac416068df99b8d28033cfb9a1afb95
Author: Carsten Haubold <carstenhaubold at googlemail.com>
Date: Thu Nov 20 09:31:02 2014 +0100
Fix gurobi library dependency include for tests
---
src/unittest/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/unittest/CMakeLists.txt b/src/unittest/CMakeLists.txt
index 614583e..5e4b0dc 100644
--- a/src/unittest/CMakeLists.txt
+++ b/src/unittest/CMakeLists.txt
@@ -84,7 +84,7 @@ if(BUILD_TESTING)
if(WITH_GUROBI)
ADD_EXECUTABLE(test-learning test_learning.cxx ${headers})
- target_link_libraries(test-learning gurobi_c++ ${GUROBI_LIBRARY})
+ target_link_libraries(test-learning ${GUROBI_CXX_LIBRARY} ${GUROBI_LIBRARY})
add_test(test-learning ${CMAKE_CURRENT_BINARY_DIR}/test-learning)
endif()
--
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