From 4f7e64183173b7a96691dfe7d605390460cce227 Mon Sep 17 00:00:00 2001 From: Rick Ho Date: Wed, 19 Aug 2020 16:38:00 +0800 Subject: [PATCH] fix WRAP spell in isl third party cmake fix WRAP spell in external cmakefile --- cmake/external_libs/isl.cmake | 4 ++-- third_party/isl_wrap/CMakeLists.txt | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cmake/external_libs/isl.cmake b/cmake/external_libs/isl.cmake index 56574ee..d196345 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 370bd36..d63b1c2 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) -- GitLab