~oxide-developers/oxide/oxide.trunk

« back to all changes in this revision

Viewing changes to qt/tests/unit/oxideqdownloadrequest/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:
22
22
 
23
23
add_executable(tst_oxideqdownloadrequest tst_oxideqdownloadrequest.cc)
24
24
target_link_libraries(tst_oxideqdownloadrequest
25
 
                      PRIVATE ${OXIDE_LIB} Qt5::Core Qt5::Gui Qt5::Test)
 
25
                      PRIVATE
 
26
                      ${OXIDE_LIB}
 
27
                      ${Qt5Core_LIBRARIES}
 
28
                      ${Qt5Gui_LIBRARIES}
 
29
                      ${Qt5Test_LIBRARIES})
26
30
set_target_properties(tst_oxideqdownloadrequest PROPERTIES
27
31
                      AUTOMOC TRUE)
28
32