summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-01 22:28:06 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-01 22:28:06 +0100
commit040f8c96a30fde76d1ad713072d85ba0cadef6d9 (patch)
treec11e3ffea70db69d4daebada598d583ce5dd23bf /cmake
parentd12cee7e1cf4a61ba3e2e0748a7efa9e188d0194 (diff)
cmake/qt: fix typo
Issue: #867
Diffstat (limited to 'cmake')
-rw-r--r--cmake/opentrack-qt.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/opentrack-qt.cmake b/cmake/opentrack-qt.cmake
index 527f9fd7..1d9abbd7 100644
--- a/cmake/opentrack-qt.cmake
+++ b/cmake/opentrack-qt.cmake
@@ -22,7 +22,7 @@ function(otr_install_qt_libs)
foreach(i Qt5::Core Qt5::Gui Qt5::Network Qt5::SerialPort Qt5::Widgets)
get_property(path TARGET "${i}" PROPERTY "LOCATION_${CMAKE_BUILD_TYPE}")
if(path STREQUAL "")
- get_property(path TARGET "${i}" PROPERTY IMPORTED_LOCATION)
+ get_property(path TARGET "${i}" PROPERTY LOCATION)
endif()
if("${path}" STREQUAL "")
message(FATAL_ERROR "${i} ${path}")