~oxide-developers/oxide/oxide.trunk

« back to all changes in this revision

Viewing changes to qt/qmlrunner/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:
28
28
add_executable(${OXIDE_QMLRUNNER} ${OXIDE_QMLRUNNER_SRCS})
29
29
target_link_libraries(
30
30
    ${OXIDE_QMLRUNNER} 
31
 
    Qt5::Core
32
 
    Qt5::Gui
33
 
    Qt5::Qml
34
 
    Qt5::Quick)
 
31
    ${Qt5Core_LIBRARIES}
 
32
    ${Qt5Gui_LIBRARIES}
 
33
    ${Qt5Qml_LIBRARIES}
 
34
    ${Qt5Quick_LIBRARIES}
35
35
target_include_directories(
36
36
    ${OXIDE_QMLRUNNER} PRIVATE
37
37
    ${Qt5Core_PRIVATE_INCLUDE_DIRS}