diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,8 +17,6 @@ FIND_PACKAGE(CPLEX) FIND_PACKAGE(COIN) -ADD_DEFINITIONS(-DHAVE_CONFIG_H) - IF(MSVC) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4250 /wd4355 /wd4800 /wd4996") # Suppressed warnings: @@ -28,8 +26,6 @@ # C4996: 'function': was declared deprecated ENDIF(MSVC) -ADD_DEFINITIONS(-DHAVE_CONFIG_H) - INCLUDE(CheckTypeSize) CHECK_TYPE_SIZE("long long" LEMON_LONG_LONG) diff --git a/test/lp_test.cc b/test/lp_test.cc --- a/test/lp_test.cc +++ b/test/lp_test.cc @@ -21,9 +21,7 @@ #include "test_tools.h" #include -#ifdef HAVE_CONFIG_H #include -#endif #ifdef LEMON_HAVE_GLPK #include diff --git a/test/mip_test.cc b/test/mip_test.cc --- a/test/mip_test.cc +++ b/test/mip_test.cc @@ -18,9 +18,7 @@ #include "test_tools.h" -#ifdef HAVE_CONFIG_H #include -#endif #ifdef LEMON_HAVE_CPLEX #include