/usr/lib/CGAL/FindIPE.cmake is in libcgal-dev 4.2-5ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | # - Try to find Ipe
# Once done this will define
#
# IPE_FOUND - system has Ipe
# IPE_INCLUDE_DIR - the Ipe include directory
# IPE_LIBRARIES - Link these to use Ipe
#
# Is it already configured?
if (IPE_INCLUDE_DIR AND IPE_LIBRARIES )
set(IPE_FOUND TRUE)
else()
find_path(IPE_INCLUDE_DIR
NAMES ipelib.h
PATHS /usr/include
/usr/local/include
)
find_library(IPE_LIBRARIES
NAMES ipe
PATHS /usr/lib
/usr/local/lib
/usr/lib64
)
if(IPE_INCLUDE_DIR AND IPE_LIBRARIES)
set(IPE_FOUND TRUE)
endif()
endif()
if(IPE_FOUND)
message(STATUS "Found Ipe: ${IPE_INCLUDE_DIR} ${IPE_LIBRARIES}")
endif()
|