summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Windows.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-02-09 20:05:13 (GMT)
committerBrad King <brad.king@kitware.com>2006-02-09 20:05:13 (GMT)
commit33587ce37676c906b7deed07764e2757c6f3997f (patch)
tree995db15982faea296f647f0788cdca9ae8c5e494 /Modules/Platform/Windows.cmake
parent0ddf06e952088c95147312c486da9835f84385b2 (diff)
downloadCMake-33587ce37676c906b7deed07764e2757c6f3997f.zip
CMake-33587ce37676c906b7deed07764e2757c6f3997f.tar.gz
CMake-33587ce37676c906b7deed07764e2757c6f3997f.tar.bz2
ENH: Added platform settings CMAKE_FIND_LIBRARY_PREFIXES and CMAKE_FIND_LIBRARY_SUFFIXES to allow customized searching for libraries.
Diffstat (limited to 'Modules/Platform/Windows.cmake')
-rw-r--r--Modules/Platform/Windows.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Platform/Windows.cmake b/Modules/Platform/Windows.cmake
index 163d3f6..a79a489 100644
--- a/Modules/Platform/Windows.cmake
+++ b/Modules/Platform/Windows.cmake
@@ -6,6 +6,9 @@ SET(CMAKE_EXECUTABLE_SUFFIX ".exe") # .exe
SET(CMAKE_LINK_LIBRARY_SUFFIX ".lib")
SET(CMAKE_DL_LIBS "")
+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
IF(CMAKE_GENERATOR MATCHES "Borland")