Commit 975cfff8 authored by Paweł Goliński's avatar Paweł Goliński Committed by luyikei

CMakeLists: Use LIBVLC_LIBRARY_DIRS on OS X

Signed-off-by: luyikei's avatarYikai Lu <luyikei.qmltu@gmail.com>
parent 3e0615bb
......@@ -314,14 +314,14 @@ ENDIF(UNIX)
if( APPLE )
set(APPLICATION_BUNDLE ${CMAKE_BINARY_DIR}/bin/vlmc.app)
set(APPLICATION_LIB_DIR ${LIBVLC_LIB_DIR})
set(APPLICATION_LIB_DIR ${LIBVLC_LIBRARY_DIRS})
# re-enable this when we start addressing redistribution
# message(STATUS "Looking for bundle ${APPLICATION_BUNDLE} with library path ${APPLICATION_LIB_DIR}")
# install(CODE "include(BundleUtilities)
add_custom_command(TARGET vlmc
POST_BUILD
COMMAND ${CMAKE_SOURCE_DIR}/cmake/FixBundle.sh ${APPLICATION_BUNDLE}/Contents/MacOS ${LIBVLC_LIB_DIR}
COMMAND ${CMAKE_SOURCE_DIR}/cmake/FixBundle.sh ${APPLICATION_BUNDLE}/Contents/MacOS ${LIBVLC_LIBRARY_DIRS}
COMMENT "Fixing application bundle for local run")
# fixup_bundle(\"${APPLICATION_BUNDLE}\" \"\" \"${APPLICATION_LIB_DIR}\")" COMPONENT Runtime)
endif()
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