One call to fixup bundle is enough
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@384 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -20,15 +20,9 @@ include (BundleUtilities)
|
||||
# Get library paths
|
||||
get_filename_component(_GlutDir "@GLUT_glut_LIBRARY@" PATH)
|
||||
|
||||
# Get all executables in build dir
|
||||
file (GLOB EXECUTABLES "@CMAKE_BINARY_DIR@/Build/*.exe" )
|
||||
|
||||
message(STATUS "Fixing ${EXECUTABLES}")
|
||||
|
||||
# fix all dependencies
|
||||
foreach( CURRENTEXE ${EXECUTABLES})
|
||||
fixup_bundle (${CURRENTEXE} "" "${_GlutDir};${_GlewDir};@QT_BINARY_DIR@")
|
||||
endforeach()
|
||||
fixup_bundle ("@CMAKE_BINARY_DIR@/Build/QtViewer.exe" "" "${_GlutDir};@QT_BINARY_DIR@")
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user