summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-11 15:44:20 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-11-11 15:44:20 (GMT)
commita0b159685ea4383255e46de5456d6a9204457c1f (patch)
tree81f89a516293c1e47ce9f0426f58d01a1fa996a5 /Modules/Platform
parent5733d3fbb96a0f48b58b44e5b256ec1978cbbf61 (diff)
parent883bd34a1fa31273929c7baf2f43b3c6f5ec0c01 (diff)
downloadCMake-a0b159685ea4383255e46de5456d6a9204457c1f.zip
CMake-a0b159685ea4383255e46de5456d6a9204457c1f.tar.gz
CMake-a0b159685ea4383255e46de5456d6a9204457c1f.tar.bz2
Merge topic 'vs_targets_file_as_library'
883bd34a VS: Treat libraries ending in `.targets` as msbuild imports
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Windows.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/Windows.cmake b/Modules/Platform/Windows.cmake
index 9a937a7..d8b3957 100644
--- a/Modules/Platform/Windows.cmake
+++ b/Modules/Platform/Windows.cmake
@@ -17,6 +17,7 @@ set(CMAKE_IMPORT_LIBRARY_SUFFIX ".lib")
set(CMAKE_EXECUTABLE_SUFFIX ".exe") # .exe
set(CMAKE_LINK_LIBRARY_SUFFIX ".lib")
set(CMAKE_DL_LIBS "")
+set(CMAKE_EXTRA_LINK_EXTENSIONS ".targets")
set(CMAKE_FIND_LIBRARY_PREFIXES "")
set(CMAKE_FIND_LIBRARY_SUFFIXES ".lib")