Commit d7f5ca3c authored by Jan Möbius's avatar Jan Möbius
Browse files

cmake plugin build dependencies for apple need to include qt

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5690 383ad7c9-94d9-4d36-a494-682f7c89f535
parent f5745958
......@@ -160,7 +160,18 @@ function (_build_openflipper_plugin plugin)
${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/Plugin-${plugin}.dll
${CMAKE_BINARY_DIR}/Build/${OPENFLIPPER_PLUGINDIR}
)
else ()
elseif (APPLE)
target_link_libraries (
Plugin-${plugin}
PluginLib
${QT_LIBRARIES}
)
set_target_properties (
Plugin-${plugin} PROPERTIES
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/Build/${OPENFLIPPER_PLUGINDIR}"
)
else()
set_target_properties (
Plugin-${plugin} PROPERTIES
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/Build/${OPENFLIPPER_PLUGINDIR}"
......
Supports Markdown
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