diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-08-21 12:18:30 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-22 09:08:02 +0200 |
commit | 6b5cffdad5d7b0f0d7ca3d641b1fe6f8efecf941 (patch) | |
tree | 482ab52e35ba9cff7521e01646f965adbf1cf05b /mkspecs | |
parent | 6c1670d8c273819435867c42725c0db0eee597dc (diff) |
Only set the IMPLIB target properties on Windows.
Change-Id: I5362ae87c90fe08460599602b54484b6d4491db8
Reviewed-by: Clinton Stimpson <clinton@elemtech.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/cmake/Qt5BasicConfig.cmake.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/cmake/Qt5BasicConfig.cmake.in b/mkspecs/cmake/Qt5BasicConfig.cmake.in index 2f732ada9e..45346debf2 100644 --- a/mkspecs/cmake/Qt5BasicConfig.cmake.in +++ b/mkspecs/cmake/Qt5BasicConfig.cmake.in @@ -132,6 +132,7 @@ macro(_populate_imported_target_properties Configuration LIB_LOCATION IMPLIB_LOC \"IMPORTED_SONAME_${Configuration}\" \"$${CMAKE_LIB_SONAME}\" !!ENDIF ) +!!IF !isEmpty(CMAKE_WINDOWS_BUILD) if(NOT \"${IMPLIB_LOCATION}\" STREQUAL \"\") set_target_properties(Qt5::$${CMAKE_MODULE_NAME} PROPERTIES !!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE) @@ -141,6 +142,7 @@ macro(_populate_imported_target_properties Configuration LIB_LOCATION IMPLIB_LOC !!ENDIF ) endif() +!!ENDIF endmacro() if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME}) |