summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-11-29 15:15:46 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-11-29 15:15:55 (GMT)
commit4c2952c5cb95e06e3f9c096d71bc342bfa2d4443 (patch)
treed8bcb4c93ae8f1adb5d3669a6b24d330443bf6b0 /Modules/Platform
parent30e5ef9659809952d48f9b5284758c6de2a63681 (diff)
parent955d6245c14a4bfe8b4a7a2304ec998bfc6a5561 (diff)
downloadCMake-4c2952c5cb95e06e3f9c096d71bc342bfa2d4443.zip
CMake-4c2952c5cb95e06e3f9c096d71bc342bfa2d4443.tar.gz
CMake-4c2952c5cb95e06e3f9c096d71bc342bfa2d4443.tar.bz2
Merge topic 'revert-find_library-msvc-libfoo.a' into release-3.25
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 5263161..d8b3957 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