diff options
author | Cristian Adam <cristian.adam@qt.io> | 2019-09-10 11:46:07 +0200 |
---|---|---|
committer | Cristian Adam <cristian.adam@qt.io> | 2019-09-10 12:21:57 +0000 |
commit | 3bb0ad62e2974be8e0e695ca21d628a6e0b38320 (patch) | |
tree | aef1a21049ae80ed02419ad9e733b39d9ea85b3e /cmake | |
parent | 52729892d3fe0232d482930df717ecb7f1c0b55b (diff) |
CMake Build: Fix finding link library for DesignerComponents
On Windows the find_library call was finding the .dll file, and not
the .lib or .dll.a link library.
Change-Id: Ic20845f9ef4c77e0ae8c3ca3476a12fc1b45ef36
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindDesignerComponents.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindDesignerComponents.cmake b/cmake/FindDesignerComponents.cmake index 58f957b468..3d2b0255de 100644 --- a/cmake/FindDesignerComponents.cmake +++ b/cmake/FindDesignerComponents.cmake @@ -35,7 +35,7 @@ if (NOT _designer_location) endif() get_target_property(_designer_is_framework Qt5::Designer FRAMEWORK) find_library(DesignerComponents_LIBRARIES NAMES Qt5DesignerComponents QtDesignerComponents - NO_DEFAULT_PATH PATHS "${_designer_location}/.." "${_designer_location}/../..") + HINTS "${_designer_location}/.." "${_designer_location}/../..") if (_designer_is_framework) if (DesignerComponents_LIBRARIES) |