[vlmc-devel] commit: CMake: Refactor and remove redundant custom command code, for Mac build. (Rohit Yadav )
git at videolan.org
git at videolan.org
Tue Nov 16 16:46:46 CET 2010
vlmc | branch: master | Rohit Yadav <rohityadav89 at gmail.com> | Tue Nov 16 21:25:53 2010 +0530| [59e1e5bcd5016e5ac286e8a4901b4f295de84a1f] | committer: Rohit Yadav
CMake: Refactor and remove redundant custom command code, for Mac build.
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=59e1e5bcd5016e5ac286e8a4901b4f295de84a1f
---
src/CMakeLists.txt | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 11f976a..afcabef 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -389,17 +389,7 @@ IF( APPLE )
ADD_CUSTOM_COMMAND(
TARGET vlmc
POST_BUILD
- 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
+ COMMAND cp -r ${CMAKE_SOURCE_DIR}/contribs/{include, lib, plugins} ${CMAKE_CURRENT_BINARY_DIR}/../bin/vlmc.app/Contents/MacOS
)
ADD_CUSTOM_COMMAND(
TARGET vlmc
More information about the Vlmc-devel
mailing list