Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
53617090
Commit
53617090
authored
Nov 02, 2017
by
Martin Heistermann
Browse files
Add finder for
http://www.andres.sc/graph.html
parent
1275ee2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/FindAndresGraph.cmake
0 → 100644
View file @
53617090
# http://www.andres.sc/graph.html
# We call it andresgraph to avoid ambiguity
# - Try to find ANDRESGRAPH
# Once done this will define
# ANDRESGRAPH_FOUND - System has ANDRESGRAPH
# ANDRESGRAPH_INCLUDE_DIRS - The ANDRESGRAPH include directories
if
(
ANDRESGRAPH_INCLUDE_DIR
)
# in cache already
set
(
ANDRESGRAPH_FOUND TRUE
)
set
(
ANDRESGRAPH_INCLUDE_DIRS
"
${
ANDRESGRAPH_INCLUDE_DIR
}
"
)
else
(
ANDRESGRAPH_INCLUDE_DIR
)
find_path
(
ANDRESGRAPH_INCLUDE_DIR
NAMES andres/graph/multicut-lifted/kernighan-lin.hxx
PATHS $ENV{ANDRESGRAPH_DIR}
/usr/include/
/usr/local/include/
/opt/local/include/
)
set
(
ANDRESGRAPH_INCLUDE_DIRS
"
${
ANDRESGRAPH_INCLUDE_DIR
}
"
)
include
(
FindPackageHandleStandardArgs
)
# handle the QUIETLY and REQUIRED arguments and set LIBCPLEX_FOUND to TRUE
# if all listed variables are TRUE
find_package_handle_standard_args
(
ANDRESGRAPH DEFAULT_MSG
ANDRESGRAPH_INCLUDE_DIR
)
mark_as_advanced
(
ANDRESGRAPH_INCLUDE_DIR
)
endif
(
ANDRESGRAPH_INCLUDE_DIR
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment