v0.15.0
Loading...
Searching...
No Matches
FindTriangle.cmake
Go to the documentation of this file.
1# - Try to find triangle
2
3# If unset, try environment
4
5if(NOT TRIANGLE_DIR)
6 set(TRIANGLE_DIR $ENV{TRIANGLE_DIR})
7endif(NOT TRIANGLE_DIR)
8
9find_library(TRIANGLE_LIBRARY NAMES triangle PATHS "${TRIANGLE_DIR}/lib")
10message(STATUS ${TRIANGLE_LIBRARY})
11
12if(TRIANGLE_LIBRARY)
13 include_directories("${TRIANGLE_DIR}/include")
14endif(TRIANGLE_LIBRARY)
15
16
17
18