From 51619527cd0df3722039519c1cb23a66c55e7735 Mon Sep 17 00:00:00 2001 From: Luca Lobefaro Date: Mon, 24 Jun 2024 09:58:27 +0200 Subject: [PATCH] Typo fix in find_dependencies --- cpp/kiss_icp/3rdparty/find_dependencies.cmake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cpp/kiss_icp/3rdparty/find_dependencies.cmake b/cpp/kiss_icp/3rdparty/find_dependencies.cmake index b9feb895..c4eed75e 100644 --- a/cpp/kiss_icp/3rdparty/find_dependencies.cmake +++ b/cpp/kiss_icp/3rdparty/find_dependencies.cmake @@ -25,7 +25,7 @@ if(CMAKE_VERSION VERSION_GREATER 3.24) cmake_policy(SET CMP0135 OLD) endif() -function(find_external_dependecy PACKAGE_NAME TARGET_NAME INCLUDED_CMAKE_PATH) +function(find_external_dependency PACKAGE_NAME TARGET_NAME INCLUDED_CMAKE_PATH) string(TOUPPER ${PACKAGE_NAME} PACKAGE_NAME_UP) set(USE_FROM_SYSTEM_OPTION "USE_SYSTEM_${PACKAGE_NAME_UP}") if(${${USE_FROM_SYSTEM_OPTION}}) @@ -37,7 +37,7 @@ function(find_external_dependecy PACKAGE_NAME TARGET_NAME INCLUDED_CMAKE_PATH) endif() endfunction() -find_external_dependecy("Eigen3" "Eigen3::Eigen" "${CMAKE_CURRENT_LIST_DIR}/eigen/eigen.cmake") -find_external_dependecy("Sophus" "Sophus::Sophus" "${CMAKE_CURRENT_LIST_DIR}/sophus/sophus.cmake") -find_external_dependecy("TBB" "TBB::tbb" "${CMAKE_CURRENT_LIST_DIR}/tbb/tbb.cmake") -find_external_dependecy("tsl-robin-map" "tsl::robin_map" "${CMAKE_CURRENT_LIST_DIR}/tsl_robin/tsl_robin.cmake") +find_external_dependency("Eigen3" "Eigen3::Eigen" "${CMAKE_CURRENT_LIST_DIR}/eigen/eigen.cmake") +find_external_dependency("Sophus" "Sophus::Sophus" "${CMAKE_CURRENT_LIST_DIR}/sophus/sophus.cmake") +find_external_dependency("TBB" "TBB::tbb" "${CMAKE_CURRENT_LIST_DIR}/tbb/tbb.cmake") +find_external_dependency("tsl-robin-map" "tsl::robin_map" "${CMAKE_CURRENT_LIST_DIR}/tsl_robin/tsl_robin.cmake")