From 00b7d518f58665c7bb6c4ce2a33fafeadb3ea40c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Mon, 11 Jul 2016 12:37:27 +0200 Subject: [PATCH] Fixbundle will only be called when apps are build. Remove if clause which is unnecessary --- cmake/fixbundle.cmake.win.in | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/cmake/fixbundle.cmake.win.in b/cmake/fixbundle.cmake.win.in index e7ec04d2..55c42341 100644 --- a/cmake/fixbundle.cmake.win.in +++ b/cmake/fixbundle.cmake.win.in @@ -17,13 +17,11 @@ endfunction(gp_item_default_embedded_path_override) include (BundleUtilities) -if(@BUILD_APPS@) - # Get library paths - get_filename_component(_GlutDir "@GLUT_glut_LIBRARY@" PATH) +# Get library paths +get_filename_component(_GlutDir "@GLUT_glut_LIBRARY@" PATH) - # fix all dependencies - fixup_bundle ("@CMAKE_BINARY_DIR@/Build/Smoothing.exe" "" "${_GlutDir};@QT_BINARY_DIR@") -endif() +# fix all dependencies +fixup_bundle ("@CMAKE_BINARY_DIR@/Build/Smoothing.exe" "" "${_GlutDir};@QT_BINARY_DIR@")