Fix all exes
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@380 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -20,8 +20,16 @@ include (BundleUtilities)
|
||||
# Get library paths
|
||||
get_filename_component(_GlutDir "@GLUT_glut_LIBRARY@" PATH)
|
||||
|
||||
# Get all executables in build dir
|
||||
list( APPEND EXECUTABLES "@CMAKE_BINARY_DIR@/Build/*.exe" )
|
||||
|
||||
message(STATUS "Fixing ${EXECUTABLES}")
|
||||
|
||||
# fix all dependencies
|
||||
fixup_bundle ("@CMAKE_BINARY_DIR@/Build/*" "" "${_GlutDir};${_GlewDir};@QT_BINARY_DIR@")
|
||||
foreach( CURRENTEXE ${EXECUTABLES})
|
||||
fixup_bundle (${CURRENTEXE} "" "${_GlutDir};${_GlewDir};@QT_BINARY_DIR@")
|
||||
endforeach(loop_var)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user