diff options
author | Juha Vuolle <juha.vuolle@insta.fi> | 2022-04-29 13:24:40 +0300 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-05-03 05:12:20 +0000 |
commit | 7dd21030f43a06358400f2532fb97a30f3e1484b (patch) | |
tree | e30596ef0ae78c1ab88268504da1ed9aee4852e6 | |
parent | 343fc48ffc5ac62fd6c3c0527bb1d9e96f64f99a (diff) |
Remove extra ".lib" suffix from Windows library linkage
The extra ".lib" can introduce trouble with static linking as the
lib can become of the form <>.lib.lib in the Makefile
Task-number: QTBUG-102994
Change-Id: I3b1b9490fdca35dfb1e98a396c8a2f573ff5dece
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit a99bbdc7b685acb04f3e7fc9072406273767ad48)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | config.tests/winrt/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/plugins/sensors/winrt/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config.tests/winrt/CMakeLists.txt b/config.tests/winrt/CMakeLists.txt index d0e46ca2..abbddfbd 100644 --- a/config.tests/winrt/CMakeLists.txt +++ b/config.tests/winrt/CMakeLists.txt @@ -29,6 +29,6 @@ add_executable(${PROJECT_NAME} if(MSVC) target_link_libraries(${PROJECT_NAME} PRIVATE - runtimeobject.lib + runtimeobject ) endif() diff --git a/src/plugins/sensors/winrt/CMakeLists.txt b/src/plugins/sensors/winrt/CMakeLists.txt index 455c1f01..16a64294 100644 --- a/src/plugins/sensors/winrt/CMakeLists.txt +++ b/src/plugins/sensors/winrt/CMakeLists.txt @@ -22,7 +22,7 @@ qt_internal_add_plugin(WinRtSensorPlugin qt_internal_extend_target(WinRtSensorPlugin CONDITION MSVC LIBRARIES - runtimeobject.lib + runtimeobject ) #### Keys ignored in scope 1:.:.:winrt.pro:<TRUE>: |