[vlmc-devel] CMakeLists: Use LIBVLC_LIBRARY_DIRS on OS X

Pawel Golinski git at videolan.org
Sat Jul 30 07:49:03 CEST 2016


vlmc | branch: master | Pawel Golinski <golpaw1 at gmail.com> | Wed Jul 20 22:45:02 2016 +0200| [975cfff821ced9a9c737c82935f2976f0b2a41e6] | committer: Yikai Lu

CMakeLists: Use LIBVLC_LIBRARY_DIRS on OS X

Signed-off-by: Yikai Lu <luyikei.qmltu at gmail.com>

> https://code.videolan.org/videolan/vlmc/commit/975cfff821ced9a9c737c82935f2976f0b2a41e6
---

 src/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a85cf0a..7b37f38 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -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()



More information about the Vlmc-devel mailing list