Commit 023a9818 authored by Rohit Yadav's avatar Rohit Yadav

CMake: Add RenderWidget, force linking to Cocoa framework on Mac

parent e9850033
......@@ -141,6 +141,11 @@ IF (NOT WIN32)
${LIBVLC_LIBRARY}
${LIBVLCCORE_LIBRARY})
IF (APPLE) # Fails to link to Cocoa framework automatically
SET (VLMC_LIBS ${VLMC_LIBS}
${CMAKE_OSX_SYSROOT}/System/Library/Frameworks/Cocoa.framework)
ENDIF(APPLE)
INCLUDE(${QT_USE_FILE})
ADD_DEFINITIONS(${QT_DEFINITIONS})
ELSE (NOT WIN32)
......
......@@ -181,6 +181,7 @@ ELSE(NOT WITH_GUI)
Gui/preview/LCDTimecode.cpp
Gui/preview/PreviewRuler.cpp
Gui/preview/PreviewWidget.cpp
Gui/preview/RenderWidget.mm
Gui/project/GuiProjectManager.cpp
Gui/settings/BoolWidget.cpp
Gui/settings/ColorWidget.cpp
......@@ -252,6 +253,7 @@ ELSE(NOT WITH_GUI)
Gui/preview/LCDTimecode.h
Gui/preview/PreviewRuler.h
Gui/preview/PreviewWidget.h
Gui/preview/RenderWidget.h
Gui/project/GuiProjectManager.h
Gui/settings/BoolWidget.h
Gui/settings/ColorWidget.h
......
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