~oxide-developers/oxide/oxide.trunk

« back to all changes in this revision

Viewing changes to qt/tests/mock/position/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
 
29
29
add_library(${PLUGIN} SHARED ${PLUGIN_SRCS})
30
30
target_link_libraries(${PLUGIN}
31
 
    Qt5::Core
32
 
    Qt5::Gui
33
 
    Qt5::Positioning)
 
31
    ${Qt5Core_LIBRARIES}
 
32
    ${Qt5Gui_LIBRARIES}
 
33
    ${Qt5Positioning_LIBRARIES})
34
34
target_compile_definitions(${PLUGIN} PRIVATE -DQT_PLUGIN)
35
35
set_target_properties(${PLUGIN} PROPERTIES AUTOMOC TRUE)