summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2008-09-06 16:20:07 (GMT)
committerDavid Cole <david.cole@kitware.com>2008-09-06 16:20:07 (GMT)
commit6f8bdd276c12211b0992fe45051d966f21e3b853 (patch)
tree8a9fdb1d121bfa756d70c61e6838915df9cddabf /Tests
parent6a0ab340c6cd48a8b72953ae31df188a15f093b3 (diff)
downloadCMake-6f8bdd276c12211b0992fe45051d966f21e3b853.zip
CMake-6f8bdd276c12211b0992fe45051d966f21e3b853.tar.gz
CMake-6f8bdd276c12211b0992fe45051d966f21e3b853.tar.bz2
ENH: Add BundleUtilities.cmake and supporting changes to GetPrerequisites.cmake. Function copy_and_fixup_bundle in BundleUtilities helps to make standalone bundle applications on the Mac by pulling in prerequisite non-system libraries and frameworks as needed. Uses otool and install_name_tool to do analysis and fixups. Project-specific hooks for deciding where to embed libraries and for resolving item names into full path file names are also provided.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeTests/GetPrerequisitesTest.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeTests/GetPrerequisitesTest.cmake.in b/Tests/CMakeTests/GetPrerequisitesTest.cmake.in
index 4363a42..561a917 100644
--- a/Tests/CMakeTests/GetPrerequisitesTest.cmake.in
+++ b/Tests/CMakeTests/GetPrerequisitesTest.cmake.in
@@ -68,7 +68,7 @@ function(test_cmake_executables)
message(STATUS "")
get_filename_component(cmake_bin_dir "${CMAKE_COMMAND}" PATH)
- list_prerequisites_by_glob(GLOB "${cmake_bin_dir}/*" 0 0 1)
+ list_prerequisites_by_glob(GLOB_RECURSE "${cmake_bin_dir}/*" 1 0 1)
endfunction(test_cmake_executables)