summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuha Vuolle <juha.vuolle@insta.fi>2022-04-29 13:24:40 +0300
committerJuha Vuolle <juha.vuolle@insta.fi>2022-05-03 07:24:55 +0300
commita99bbdc7b685acb04f3e7fc9072406273767ad48 (patch)
tree616436bc3bacf644cd5ebabf95e77ec19beee4ca
parent34a7bf4c4c11f4be594f20700a54fa5ca4fcce78 (diff)
downloadqtsensors-a99bbdc7b685acb04f3e7fc9072406273767ad48.tar.gz
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 Pick-to: 6.2 6.3 Change-Id: I3b1b9490fdca35dfb1e98a396c8a2f573ff5dece Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r--config.tests/winrt/CMakeLists.txt2
-rw-r--r--src/plugins/sensors/winrt/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/config.tests/winrt/CMakeLists.txt b/config.tests/winrt/CMakeLists.txt
index d0e46ca..abbddfb 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 455c1f0..16a6429 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>: