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
7197b572
Commit
7197b572
authored
Aug 07, 2017
by
Janis Born
Browse files
add a CMake finder for libigl
parent
766caeff
Changes
1
Show whitespace changes
Inline
Side-by-side
cmake/FindLIBIGL.cmake
0 → 100644
View file @
7197b572
if
(
LIBIGL_INCLUDE_DIR
)
set
(
LIBIGL_FOUND TRUE
)
set
(
LIBIGL_INCLUDE_DIRS
"
${
LIBIGL_INCLUDE_DIR
}
"
)
else
()
find_path
(
LIBIGL_INCLUDE_DIR
NAMES igl/igl_inline.h
PATHS
"
${
CMAKE_SOURCE_DIR
}
/libs/libigl/include"
)
set
(
LIBIGL_INCLUDE_DIRS
"
${
LIBIGL_INCLUDE_DIR
}
"
)
include
(
FindPackageHandleStandardArgs
)
find_package_handle_standard_args
(
LIBIGL DEFAULT_MSG LIBIGL_INCLUDE_DIR
)
mark_as_advanced
(
LIBIGL_INCLUDE_DIR
)
endif
()
Write
Preview
Supports
Markdown
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