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