~oxide-developers/oxide/oxide.trunk

« back to all changes in this revision

Viewing changes to qt/qmlplugin/CMakeLists.txt

  • Committer: Chris Coulson
  • Date: 2016-05-10 08:30:40 UTC
  • Revision ID: chris.coulson@canonical.com-20160510083040-1razl25rqr9fzq84
Use the proper cmake variables for imported libraries rather than using the names directly

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
add_library(${OXIDE_QMLPLUGIN} MODULE ${OXIDE_QMLPLUGIN_SRCS})
58
58
target_link_libraries(
59
59
    ${OXIDE_QMLPLUGIN}
60
 
    Qt5::Core
61
 
    Qt5::Qml
62
 
    Qt5::Quick
 
60
    ${Qt5Core_LIBRARIES}
 
61
    ${Qt5Qml_LIBRARIES}
 
62
    ${Qt5Quick_LIBRARIES}
63
63
    ${OXIDE_LIB}
64
64
    ${OXIDE_QUICKLIB})
65
65
set_target_properties(