From 87aee3283681d746159a6b7533db772929e1804e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Tue, 13 Apr 2010 15:35:27 +0000 Subject: [PATCH] Updated fixup bundle for windows git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@8974 383ad7c9-94d9-4d36-a494-682f7c89f535 --- cmake/fixbundle.cmake.win.in | 50 +++++++++++++++++++----------------- 1 file changed, 27 insertions(+), 23 deletions(-) diff --git a/cmake/fixbundle.cmake.win.in b/cmake/fixbundle.cmake.win.in index 544742e7..ee17b6df 100644 --- a/cmake/fixbundle.cmake.win.in +++ b/cmake/fixbundle.cmake.win.in @@ -1,23 +1,27 @@ -# gp_item_default_embedded_path_override item default_embedded_path_var -# -# Return the path that others should refer to the item by when the item -# is embedded inside a bundle. -# -# This is a project-specific override of BundleUtilities.cmake's -# gp_item_default_embedded_path -# -function(gp_item_default_embedded_path_override item default_embedded_path_var) - - # By default, embed items as set by gp_item_default_embedded_path: - # - set(path "${${default_embedded_path_var}}") - - set(${default_embedded_path_var} "${path}" PARENT_SCOPE) -endfunction(gp_item_default_embedded_path_override) - -include (BundleUtilities) - -# fix all dependencies -fixup_bundle (@CMAKE_BINARY_DIR@/Build/OpenFlipper.exe "" "") - - +# gp_item_default_embedded_path_override item default_embedded_path_var +# +# Return the path that others should refer to the item by when the item +# is embedded inside a bundle. +# +# This is a project-specific override of BundleUtilities.cmake's +# gp_item_default_embedded_path +# +function(gp_item_default_embedded_path_override item default_embedded_path_var) + + # By default, embed items as set by gp_item_default_embedded_path: + # + set(path "${${default_embedded_path_var}}") + + set(${default_embedded_path_var} "${path}" PARENT_SCOPE) +endfunction(gp_item_default_embedded_path_override) + +include (BundleUtilities) + +get_filename_component(_GlutDir "@GLUT_glut_LIBRARY@" PATH) + + +# fix all dependencies +fixup_bundle (@CMAKE_BINARY_DIR@/Build/OpenFlipper.exe "" "${_GlutDir};@GLEW_LIBRARY_DIR@") + + + -- GitLab