1 # Try to find the isl library
3 # ISL_FOUND - System has isl lib
4 # ISL_INCLUDE_DIR - The isl include directory
5 # ISL_LIBRARY - Library needed to use isl
8 if (ISL_INCLUDE_DIR AND ISL_LIBRARY)
9 # Already in cache, be silent
10 set(ISL_FIND_QUIETLY TRUE)
13 find_path(ISL_INCLUDE_DIR NAMES isl/version.h)
14 find_library(ISL_LIBRARY NAMES isl)
16 if (ISL_LIBRARY AND ISL_INCLUDE_DIR)
17 message(STATUS "Library isl found =) ${ISL_LIBRARY}")
19 message(STATUS "Library isl not found =(")
22 include(FindPackageHandleStandardArgs)
23 FIND_PACKAGE_HANDLE_STANDARD_ARGS(ISL DEFAULT_MSG ISL_INCLUDE_DIR ISL_LIBRARY)
25 mark_as_advanced(ISL_INCLUDE_DIR ISL_LIBRARY)