summaryrefslogtreecommitdiffstats
path: root/cmake/QtBaseConfigureTests.cmake
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2021-06-15 12:45:50 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2021-06-15 16:58:46 +0200
commit127f658cc9fee2729664674dc17fcc695544ce7d (patch)
tree4f2a94997bc83d3a290b459c7aee46ece780cc70 /cmake/QtBaseConfigureTests.cmake
parentcea662550ea12aa9e3e4c8b632d9ca85c7f249ee (diff)
Fix the win32-clang-msvc target
Detect clang-cl mkspec target Pick-to: 6.2 Change-Id: If0ca31ae2da3b44a4e2bd116933007139cc02fdc Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'cmake/QtBaseConfigureTests.cmake')
-rw-r--r--cmake/QtBaseConfigureTests.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/QtBaseConfigureTests.cmake b/cmake/QtBaseConfigureTests.cmake
index 15d506db16..717ea1248e 100644
--- a/cmake/QtBaseConfigureTests.cmake
+++ b/cmake/QtBaseConfigureTests.cmake
@@ -130,6 +130,10 @@ VERS_1;
if(APPLE)
set(HAVE_LD_VERSION_SCRIPT OFF)
endif()
+ # Also makes no sense with MSVC-style command-line
+ if(MSVC)
+ set(HAVE_LD_VERSION_SCRIPT OFF)
+ endif()
set(TEST_ld_version_script "${HAVE_LD_VERSION_SCRIPT}" CACHE INTERNAL "linker version script support")
endfunction()