summaryrefslogtreecommitdiffstats
path: root/tests/manual/cmake/pass1/CMakeLists.txt
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2011-12-03 23:00:12 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-06 11:57:11 +0100
commit4d98b83c170ac6fb90e3e23fa1480556d0505dfd (patch)
tree42ff7a86e6e8cd6b77c754f6dfe9e28d0fd51fc1 /tests/manual/cmake/pass1/CMakeLists.txt
parent3b3531285dee06aa70f0f22b7a68cfeb63aacd59 (diff)
Use plural form for CMake variables.
Change-Id: Idc0cd360e09046a5746c9f7366c7fd4b982058fe Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'tests/manual/cmake/pass1/CMakeLists.txt')
-rw-r--r--tests/manual/cmake/pass1/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/cmake/pass1/CMakeLists.txt b/tests/manual/cmake/pass1/CMakeLists.txt
index 3ccca1ea31..c41a904d79 100644
--- a/tests/manual/cmake/pass1/CMakeLists.txt
+++ b/tests/manual/cmake/pass1/CMakeLists.txt
@@ -13,7 +13,7 @@ macro(qt5_use_package _target _package)
# TODO: Handle public/private keywords?
find_package(Qt5${_package} ${ARG1})
if (Qt5${_package}_FOUND)
- target_link_libraries(${_target} ${Qt5${_package}_LIBRARY})
+ target_link_libraries(${_target} ${Qt5${_package}_LIBRARIES})
include_directories(${Qt5${_package}_INCLUDE_DIRS})
# set_property(TARGET ${_target} APPEND PROPERTY INCLUDE_DIRECTORIES ${Qt5${_package}_INCLUDE_DIRS})
set_property(TARGET ${_target} APPEND PROPERTY COMPILE_DEFINITIONS ${Qt5${_package}_COMPILE_DEFINITIONS})