mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-06 08:02:18 +00:00
758053788b
This version is equivalent to commit ba26ebece8f5be84e9bd6315611d412af797147e in the old git repository. llvm-svn: 130476
20 lines
494 B
CMake
20 lines
494 B
CMake
FIND_PATH(SCOPLIB_INCLUDE_DIR scoplib/scop.h)
|
|
|
|
FIND_LIBRARY(SCOPLIB_LIBRARY NAMES scoplib)
|
|
|
|
IF (SCOPLIB_INCLUDE_DIR AND SCOPLIB_LIBRARY)
|
|
SET(SCOPLIB_FOUND TRUE)
|
|
ENDIF (SCOPLIB_INCLUDE_DIR AND SCOPLIB_LIBRARY)
|
|
|
|
|
|
IF (SCOPLIB_FOUND)
|
|
IF (NOT Isl_FIND_QUIETLY)
|
|
MESSAGE(STATUS "Found SCoPLib: ${SCOPLIB_LIBRARY}")
|
|
ENDIF (NOT Isl_FIND_QUIETLY)
|
|
ELSE (SCOPLIB_FOUND)
|
|
IF (Isl_FIND_REQUIRED)
|
|
MESSAGE(FATAL_ERROR "Could not find SCoPLib")
|
|
ENDIF (Isl_FIND_REQUIRED)
|
|
ENDIF (SCOPLIB_FOUND)
|
|
|