# HG changeset patch
# User Akos Ladanyi <ladanyi@tmit.bme.hu>
# Date 1240933488 -3600
# Node ID d21b38647e53fee3c3e4efa31f4538c7732d3ba8
# Parent 586b65073025e0d8c88121bd976b69d1b618fb01
Remove superfluous HAVE_CONFIG_H (#278)
diff --git a/CMakeLists.txt b/CMakeLists.txt
a
|
b
|
|
17 | 17 | FIND_PACKAGE(CPLEX) |
18 | 18 | FIND_PACKAGE(COIN) |
19 | 19 | |
20 | | ADD_DEFINITIONS(-DHAVE_CONFIG_H) |
21 | | |
22 | 20 | IF(MSVC) |
23 | 21 | SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4250 /wd4355 /wd4800 /wd4996") |
24 | 22 | # Suppressed warnings: |
… |
… |
|
28 | 26 | # C4996: 'function': was declared deprecated |
29 | 27 | ENDIF(MSVC) |
30 | 28 | |
31 | | ADD_DEFINITIONS(-DHAVE_CONFIG_H) |
32 | | |
33 | 29 | INCLUDE(CheckTypeSize) |
34 | 30 | CHECK_TYPE_SIZE("long long" LEMON_LONG_LONG) |
35 | 31 | |
diff --git a/test/lp_test.cc b/test/lp_test.cc
a
|
b
|
|
21 | 21 | #include "test_tools.h" |
22 | 22 | #include <lemon/tolerance.h> |
23 | 23 | |
24 | | #ifdef HAVE_CONFIG_H |
25 | 24 | #include <lemon/config.h> |
26 | | #endif |
27 | 25 | |
28 | 26 | #ifdef LEMON_HAVE_GLPK |
29 | 27 | #include <lemon/glpk.h> |
diff --git a/test/mip_test.cc b/test/mip_test.cc
a
|
b
|
|
18 | 18 | |
19 | 19 | #include "test_tools.h" |
20 | 20 | |
21 | | #ifdef HAVE_CONFIG_H |
22 | 21 | #include <lemon/config.h> |
23 | | #endif |
24 | 22 | |
25 | 23 | #ifdef LEMON_HAVE_CPLEX |
26 | 24 | #include <lemon/cplex.h> |