mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-27 11:55:49 +00:00
758053788b
This version is equivalent to commit ba26ebece8f5be84e9bd6315611d412af797147e in the old git repository. llvm-svn: 130476
20 lines
481 B
CMake
20 lines
481 B
CMake
FIND_PATH(CLOOG_INCLUDE_DIR cloog/isl/cloog.h)
|
|
|
|
FIND_LIBRARY(CLOOG_LIBRARY NAMES cloog-isl)
|
|
|
|
IF (CLOOG_INCLUDE_DIR AND CLOOG_LIBRARY)
|
|
SET(CLOOG_FOUND TRUE)
|
|
ENDIF (CLOOG_INCLUDE_DIR AND CLOOG_LIBRARY)
|
|
|
|
|
|
IF (CLOOG_FOUND)
|
|
IF (NOT CLOOG_FIND_QUIETLY)
|
|
MESSAGE(STATUS "Found Cloog: ${CLOOG_LIBRARY}")
|
|
ENDIF (NOT CLOOG_FIND_QUIETLY)
|
|
ELSE (CLOOG_FOUND)
|
|
IF (CLOOG_FIND_REQUIRED)
|
|
MESSAGE(FATAL_ERROR "Could not find Cloog")
|
|
ENDIF (CLOOG_FIND_REQUIRED)
|
|
ENDIF (CLOOG_FOUND)
|
|
|