From d5333c0923b80f211bd7be1ec3a2a935d70481e8 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer Date: Fri, 14 Jun 2019 08:17:33 +0200 Subject: BundleUtilities: simplify inclusion of GetPrerequisites --- Modules/BundleUtilities.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Modules/BundleUtilities.cmake b/Modules/BundleUtilities.cmake index f94fc5c..ca92f85 100644 --- a/Modules/BundleUtilities.cmake +++ b/Modules/BundleUtilities.cmake @@ -246,8 +246,7 @@ endif() # The functions defined in this file depend on the get_prerequisites function # (and possibly others) found in: # -get_filename_component(BundleUtilities_cmake_dir "${CMAKE_CURRENT_LIST_FILE}" PATH) -include("${BundleUtilities_cmake_dir}/GetPrerequisites.cmake") +include("${CMAKE_CURRENT_LIST_DIR}/GetPrerequisites.cmake") function(get_bundle_main_executable bundle result_var) -- cgit v0.12