From cd06067030ad1d7ab791361df35aa41fd456bf11 Mon Sep 17 00:00:00 2001 From: Oren Hurvitz Date: Wed, 18 Apr 2018 10:18:29 +0300 Subject: [PATCH] Fixed based on PR review --- cmake/templates/FixupBundlePostBuild.cmake.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmake/templates/FixupBundlePostBuild.cmake.in b/cmake/templates/FixupBundlePostBuild.cmake.in index 4ebb0ea1a6..bb96fe49f3 100644 --- a/cmake/templates/FixupBundlePostBuild.cmake.in +++ b/cmake/templates/FixupBundlePostBuild.cmake.in @@ -33,10 +33,9 @@ function(copy_resolved_item_into_bundle resolved_item resolved_embedded_item) # this is our only change from the original version message(STATUS "status: resolved_item == resolved_embedded_item - not copying...") else() - #message(STATUS "copying COMMAND ${CMAKE_COMMAND} -E copy ${resolved_item} ${resolved_embedded_item}") execute_process(COMMAND ${CMAKE_COMMAND} -E copy "${resolved_item}" "${resolved_embedded_item}") - if(UNIX AND NOT APPLE) - file(RPATH_REMOVE FILE "${resolved_embedded_item}") + if (UNIX AND NOT APPLE) + file(RPATH_REMOVE FILE "${resolved_embedded_item}") endif() endif() endfunction()