Fixbundle will only be called when apps are build. Remove if clause which is unnecessary

This commit is contained in:
Jan Möbius
2016-07-11 12:37:27 +02:00
parent 6f862cad6c
commit 00b7d518f5

View File

@@ -17,13 +17,11 @@ endfunction(gp_item_default_embedded_path_override)
include (BundleUtilities) include (BundleUtilities)
if(@BUILD_APPS@) # Get library paths
# Get library paths get_filename_component(_GlutDir "@GLUT_glut_LIBRARY@" PATH)
get_filename_component(_GlutDir "@GLUT_glut_LIBRARY@" PATH)
# fix all dependencies # fix all dependencies
fixup_bundle ("@CMAKE_BINARY_DIR@/Build/Smoothing.exe" "" "${_GlutDir};@QT_BINARY_DIR@") fixup_bundle ("@CMAKE_BINARY_DIR@/Build/Smoothing.exe" "" "${_GlutDir};@QT_BINARY_DIR@")
endif()