Commit c448b1d4 authored by Rohit Yadav's avatar Rohit Yadav

CMake: Fix copying on Mac OS

parent 8b27488a
......@@ -385,10 +385,11 @@ IF(UNIX)
ENDIF(UNIX)
IF( APPLE )
SET(CONTRIBS_DIR ${CMAKE_SOURCE_DIR}/contribs/)
ADD_CUSTOM_COMMAND(
TARGET vlmc
POST_BUILD
COMMAND cp -r ${CMAKE_SOURCE_DIR}/contribs/{include, lib, plugins} ${CMAKE_CURRENT_BINARY_DIR}/../bin/vlmc.app/Contents/MacOS
COMMAND cp -r ${CONTRIBS_DIR}/include ${CONTRIBS_DIR}/lib ${CONTRIBS_DIR}/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