summaryrefslogtreecommitdiff
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-11-29 15:15:46 +0000
committerKitware Robot <kwrobot@kitware.com>2022-11-29 10:15:57 -0500
commit4751c9399e9602de87166efacdf42eb6b72c52d1 (patch)
tree574e22a38d2180546512708cc08edb0d8d55e517 /Modules/Platform
parentee28b8c53235740b167b6bf60c594f62c45a5221 (diff)
parent955d6245c14a4bfe8b4a7a2304ec998bfc6a5561 (diff)
downloadcmake-4751c9399e9602de87166efacdf42eb6b72c52d1.tar.gz
Merge topic 'revert-find_library-msvc-libfoo.a'
955d6245c1 MSVC: Revert "Teach find_library to consider the 'libfoo.a' naming convention" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7962
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Windows.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Platform/Windows.cmake b/Modules/Platform/Windows.cmake
index 5263161155..d8b3957818 100644
--- a/Modules/Platform/Windows.cmake
+++ b/Modules/Platform/Windows.cmake
@@ -19,8 +19,8 @@ set(CMAKE_LINK_LIBRARY_SUFFIX ".lib")
set(CMAKE_DL_LIBS "")
set(CMAKE_EXTRA_LINK_EXTENSIONS ".targets")
-set(CMAKE_FIND_LIBRARY_PREFIXES "" "lib")
-set(CMAKE_FIND_LIBRARY_SUFFIXES ".lib" ".a")
+set(CMAKE_FIND_LIBRARY_PREFIXES "")
+set(CMAKE_FIND_LIBRARY_SUFFIXES ".lib")
# for borland make long command lines are redirected to a file
# with the following syntax, see Windows-bcc32.cmake for use