[vlmc-devel] commit: CMake: Fixing building on mac, don't copy contrib sh files ( Rohit Yadav )

git at videolan.org git at videolan.org
Wed Nov 10 19:37:00 CET 2010


vlmc | branch: master | Rohit Yadav <rohityadav89 at gmail.com> | Thu Nov 11 00:35:44 2010 +0100| [ca4f529a0efb807f2c23ae846193c4c94777b3d7] | committer: Rohit Yadav 

CMake: Fixing building on mac, don't copy contrib sh files

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=ca4f529a0efb807f2c23ae846193c4c94777b3d7
---

 src/CMakeLists.txt |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index df6cdd3..11f976a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -389,9 +389,18 @@ IF( APPLE )
     ADD_CUSTOM_COMMAND(
         TARGET vlmc
         POST_BUILD
-        COMMAND cp -r ${CMAKE_SOURCE_DIR}/contribs/* ${CMAKE_CURRENT_BINARY_DIR}/../bin/vlmc.app/Contents/MacOS
+        COMMAND cp -r ${CMAKE_SOURCE_DIR}/contribs/include ${CMAKE_CURRENT_BINARY_DIR}/../bin/vlmc.app/Contents/MacOS
+    )
+    ADD_CUSTOM_COMMAND(
+        TARGET vlmc
+        POST_BUILD
+        COMMAND cp -r ${CMAKE_SOURCE_DIR}/contribs/lib ${CMAKE_CURRENT_BINARY_DIR}/../bin/vlmc.app/Contents/MacOS
+    )
+    ADD_CUSTOM_COMMAND(
+        TARGET vlmc
+        POST_BUILD
+        COMMAND cp -r ${CMAKE_SOURCE_DIR}/contribs/plugins ${CMAKE_CURRENT_BINARY_DIR}/../bin/vlmc.app/Contents/MacOS
     )
-
     ADD_CUSTOM_COMMAND(
         TARGET vlmc
         POST_BUILD



More information about the Vlmc-devel mailing list