Commit 59e1e5bc authored by Rohit Yadav's avatar Rohit Yadav

CMake: Refactor and remove redundant custom command code, for Mac build.

parent 078bdfbc
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment