~oxide-developers/oxide/oxide.trunk

« back to all changes in this revision

Viewing changes to qt/quick/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:
73
73
    ${Qt5Quick_PRIVATE_INCLUDE_DIRS})
74
74
target_link_libraries(
75
75
    ${OXIDE_QUICKLIB}
76
 
    PUBLIC Qt5::Core Qt5::Qml Qt5::Quick
77
 
    PRIVATE Qt5::Gui ${OXIDE_LIB})
 
76
    PUBLIC ${Qt5Core_LIBRARIES} ${Qt5Qml_LIBRARIES} ${Qt5Quick_LIBRARIES}
 
77
    PRIVATE ${Qt5Gui_LIBRARIES} ${OXIDE_LIB})
78
78
set_target_properties(
79
79
    ${OXIDE_QUICKLIB} PROPERTIES
80
80
    LIBRARY_OUTPUT_DIRECTORY ${OXIDE_LIB_OUTPUT_DIR}