isl.cmake 769 字节
Newer Older
1
set(isl_USE_STATIC_LIBS ON)
2
set(isl_CONFIG_FILE_DIR "-DISL_WRAP_DIR=${AKG_SOURCE_DIR}/third_party/isl_wrap")
3 4
set(isl_DEPEND_INCLUDE_DIR "-DGMP_INCLUDE_DIR=${GMP_INCLUDE_DIR}")
set(isl_DEPEND_LIB_DIR "-DGMP_LIBRARY=${GMP_LIBRARY}")
5
akg_add_pkg(isl
C
ckey_Dou 已提交
6
        VER 0.22
7
        LIBS isl_fixed
C
ckey_Dou 已提交
8 9
        URL http://isl.gforge.inria.fr/isl-0.22.tar.gz
        MD5 671d0a5e10467a5c6db0893255278845
10 11 12 13 14 15 16
        CUSTOM_CMAKE ${AKG_SOURCE_DIR}/third_party/isl_wrap
        PATCHES ${AKG_SOURCE_DIR}/third_party/patch/isl/isl.patch
        CMAKE_OPTION " ")
include_directories("${AKG_SOURCE_DIR}/third_party/isl_wrap/include")
include_directories("${isl_INC}/include")
include_directories("${isl_INC}")
link_directories("${isl_LIBPATH}")
17
add_library(akg::isl_fixed ALIAS isl::isl_fixed)