From 202bac6b9c9761a225cb9abd8f87e7123fc5656c Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Wed, 9 Sep 2015 12:16:14 +0000 Subject: [PATCH] Fix a Windows packaging issue For some reason the inclusion of referenced libraries was not finding the right libraries when using CMake 3.3 and Qt 5.5. This was probably a long standing defect that was benign until teh above versions. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5868 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 558bc27d7..d1bfc8f61 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1102,9 +1102,9 @@ endif (NOT WIN32 AND NOT APPLE) # if (NOT is_debug_build) - # get_target_property (QtCore_location Qt5::Core LOCATION) - # get_filename_component (QtCore_location ${QtCore_location} PATH) - # list (APPEND fixup_library_dirs ${QtCore_location}) + get_target_property (QtCore_location Qt5::Core LOCATION) + get_filename_component (QtCore_location ${QtCore_location} PATH) + list (APPEND fixup_library_dirs ${QtCore_location}) if (APPLE) set (CMAKE_POSTFLIGHT_SCRIPT