diff --git a/cmake/external_libs/isl.cmake b/cmake/external_libs/isl.cmake index 56574ee48723f25754cd36843c6f6c09a7a31009..d196345d0d88a3fdb967f98b9e745176e633e4b3 100644 --- a/cmake/external_libs/isl.cmake +++ b/cmake/external_libs/isl.cmake @@ -1,5 +1,5 @@ set(isl_USE_STATIC_LIBS ON) -set(isl_CONFIG_FILE_DIR "-DISL_WARP_DIR=${AKG_SOURCE_DIR}/third_party/isl_wrap") +set(isl_CONFIG_FILE_DIR "-DISL_WRAP_DIR=${AKG_SOURCE_DIR}/third_party/isl_wrap") set(isl_DEPEND_INCLUDE_DIR "-DGMP_INCLUDE_DIR=${GMP_INCLUDE_DIR}") set(isl_DEPEND_LIB_DIR "-DGMP_LIBRARY=${GMP_LIBRARY}") akg_add_pkg(isl @@ -14,4 +14,4 @@ include_directories("${AKG_SOURCE_DIR}/third_party/isl_wrap/include") include_directories("${isl_INC}/include") include_directories("${isl_INC}") link_directories("${isl_LIBPATH}") -add_library(akg::isl_fixed ALIAS isl::isl_fixed) \ No newline at end of file +add_library(akg::isl_fixed ALIAS isl::isl_fixed) diff --git a/third_party/isl_wrap/CMakeLists.txt b/third_party/isl_wrap/CMakeLists.txt index 370bd364000ca245d5e81e7c5bebdf240bead649..d63b1c29407679dec5e146d8f73ca1d93b5f587e 100644 --- a/third_party/isl_wrap/CMakeLists.txt +++ b/third_party/isl_wrap/CMakeLists.txt @@ -3,9 +3,9 @@ set(ISL_DIR ${CMAKE_CURRENT_SOURCE_DIR}) message("ISL_DIR: ${ISL_DIR}") message("GMP_INCLUDE_DIR: ${GMP_INCLUDE_DIR}") message("GMP_LIBRARY: ${GMP_LIBRARY}") -message("ISL_WARP_DIR: ${ISL_WARP_DIR}") +message("ISL_WRAP_DIR: ${ISL_WRAP_DIR}") -include_directories("${ISL_WARP_DIR}/include") +include_directories("${ISL_WRAP_DIR}/include") include_directories("${ISL_DIR}/include") include_directories("${ISL_DIR}") @@ -127,9 +127,9 @@ execute_process( WORKING_DIRECTORY ${ISL_DIR} OUTPUT_VARIABLE ISL_GIT_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE) -configure_file("${ISL_WARP_DIR}/gitversion.h.in" "gitversion.h") +configure_file("${ISL_WRAP_DIR}/gitversion.h.in" "gitversion.h") install(TARGETS isl_fixed) file(GLOB HEAD_FILE_LIST ${ISL_DIR}/*.h) install(FILES ${HEAD_FILE_LIST} DESTINATION include) -install(DIRECTORY ${ISL_DIR}/include DESTINATION include) \ No newline at end of file +install(DIRECTORY ${ISL_DIR}/include DESTINATION include)