Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenFlipper
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
53617090
Commit
53617090
authored
Nov 02, 2017
by
Martin Heistermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add finder for
http://www.andres.sc/graph.html
parent
1275ee2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
cmake/FindAndresGraph.cmake
cmake/FindAndresGraph.cmake
+34
-0
No files found.
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