summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2019-06-14 06:17:33 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2019-06-17 15:49:31 (GMT)
commitd5333c0923b80f211bd7be1ec3a2a935d70481e8 (patch)
tree3450ca32a02145b70e6cb658d233ef221fef9c3b
parent77e59e442d110b2cb3c5d206e79f631175805974 (diff)
downloadCMake-d5333c0923b80f211bd7be1ec3a2a935d70481e8.zip
CMake-d5333c0923b80f211bd7be1ec3a2a935d70481e8.tar.gz
CMake-d5333c0923b80f211bd7be1ec3a2a935d70481e8.tar.bz2
BundleUtilities: simplify inclusion of GetPrerequisites
-rw-r--r--Modules/BundleUtilities.cmake3
1 files changed, 1 insertions, 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)