summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-09-18 15:22:33 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-09-18 15:22:41 (GMT)
commit7162630beebeac105c1cd90270d26f29aa8c118f (patch)
tree69a9dabfb6bc7a13aea5eae05dcb5a363f0e12d7 /Modules
parentfc74fcc853641c3369670a15811b38c818d6b840 (diff)
parentbef80e66231a0bd2feffab02fe8d1d8f55eb793c (diff)
downloadCMake-7162630beebeac105c1cd90270d26f29aa8c118f.zip
CMake-7162630beebeac105c1cd90270d26f29aa8c118f.tar.gz
CMake-7162630beebeac105c1cd90270d26f29aa8c118f.tar.bz2
Merge topic 'vs-ipo'
bef80e6623 VS: Do not specify incremental linking if LTCG is enabled 567fabe88e IPO: INTERPROCEDURAL_OPTIMIZATION (LTCG) for Visual Studio Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2363
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CheckIPOSupported.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CheckIPOSupported.cmake b/Modules/CheckIPOSupported.cmake
index 3344834..ad8852c 100644
--- a/Modules/CheckIPOSupported.cmake
+++ b/Modules/CheckIPOSupported.cmake
@@ -226,7 +226,7 @@ function(check_ipo_supported)
endif()
endforeach()
- if(CMAKE_GENERATOR MATCHES "^Visual Studio ")
+ if(CMAKE_GENERATOR MATCHES "^Visual Studio 9 ")
_ipo_not_supported("CMake doesn't support IPO for current generator")
return()
endif()