Skip to content

Commit

Permalink
cleanup after boost mess..
Browse files Browse the repository at this point in the history
  • Loading branch information
jutanke committed Dec 3, 2017
1 parent a7ad241 commit bb316fe
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 13 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
@@ -1,6 +1,3 @@
[submodule "external/graph"]
path = external/graph
url = https://github.com/bjoern-andres/graph
[submodule "external/boost"]
path = external/boost
url = https://github.com/boostorg/boost.git
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -8,7 +8,7 @@ if (OPENMP_FOUND)
endif()

set(Python_ADDITIONAL_VERSIONS 3.5)
find_package(Boost 1.58.0 COMPONENTS system thread python-py35 numpy graph REQUIRED)
find_package(Boost 1.63.0 COMPONENTS system thread python-py35 numpy graph REQUIRED)
SET(Boost_USE_STATIC_LIBS OFF)
SET(Boost_USE_MULTITHREADED ON)
SET(Boost_USE_STATIC_RUNTIME OFF)
Expand Down
1 change: 0 additions & 1 deletion external/boost
Submodule boost deleted from eeb013
1 change: 0 additions & 1 deletion external/enable_boost.sh

This file was deleted.

8 changes: 1 addition & 7 deletions prototyping/CMakeLists.txt
Expand Up @@ -6,13 +6,7 @@ if (OPENMP_FOUND)
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
endif()

INCLUDE_DIRECTORIES(../external/graph/include)

set(Python_ADDITIONAL_VERSIONS 3.5)
find_package(Boost 1.63.0 COMPONENTS system thread graph REQUIRED)
SET(Boost_USE_STATIC_LIBS OFF)
SET(Boost_USE_MULTITHREADED ON)
SET(Boost_USE_STATIC_RUNTIME OFF)
INCLUDE_DIRECTORIES("../external/graph/include")

set (CMAKE_CXX_STANDARD 11)

Expand Down
1 change: 1 addition & 0 deletions prototyping/src/solve_graph.cpp
@@ -1,4 +1,5 @@
#include <iostream>

#include "andres/graph/graph.hxx"
#include "andres/graph/complete-graph.hxx"
#include "andres/graph/multicut-lifted/kernighan-lin.hxx"
Expand Down

0 comments on commit bb316fe

Please sign in to comment.