[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[vidalia-svn] r3599: This belongs in the 'make dist-osx' target with the rest of (vidalia/trunk/src/vidalia)



Author: edmanm
Date: 2009-03-04 19:20:36 -0500 (Wed, 04 Mar 2009)
New Revision: 3599

Modified:
   vidalia/trunk/src/vidalia/CMakeLists.txt
Log:

This belongs in the 'make dist-osx' target with the rest of the
install_name_tool stuff.


Modified: vidalia/trunk/src/vidalia/CMakeLists.txt
===================================================================
--- vidalia/trunk/src/vidalia/CMakeLists.txt	2009-03-04 23:38:18 UTC (rev 3598)
+++ vidalia/trunk/src/vidalia/CMakeLists.txt	2009-03-05 00:20:36 UTC (rev 3599)
@@ -343,19 +343,8 @@
   )
 
   if (USE_MARBLE)
-    ## Copy the Marble widget libraries into the bundle
-    set(outdir ${CMAKE_CURRENT_BINARY_DIR}/Vidalia.app/Contents/MacOS)
-    foreach (it ${MARBLE_LIBRARIES})
-      get_filename_component(outfile ${it} NAME)
-      add_custom_command(TARGET ${vidalia_BIN} POST_BUILD
-        COMMAND ${CMAKE_COMMAND}
-          ARGS -E copy_if_different ${it} ${outdir}/
-        COMMAND install_name_tool
-          ARGS -change ${it} @executable_path/${outfile} ${outdir}/${vidalia_BIN} 
-      )
-    endforeach(it)
-
     ## Copy the Marble data into the bundle
+    set(outdir ${CMAKE_CURRENT_BINARY_DIR}/Vidalia.app/Contents/MacOS)
     foreach(it ${marble_DATA})
       get_filename_component(outdir  ${it} PATH)
       get_filename_component(outfile ${it} NAME)