summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-05-03 15:04:08 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-05-03 15:04:17 (GMT)
commit1fe2dc5ef2a1f262b125a2ba6a85f624ce150dd2 (patch)
treea1b7bdc9761376b32692223fc2b8b43bb4b4db29 /Modules
parentbf3c08d648c398026eef363bb43d3f8bfaf2a286 (diff)
parent7e75568b001e29a7428d7489c57cebd909359571 (diff)
downloadCMake-1fe2dc5ef2a1f262b125a2ba6a85f624ce150dd2.zip
CMake-1fe2dc5ef2a1f262b125a2ba6a85f624ce150dd2.tar.gz
CMake-1fe2dc5ef2a1f262b125a2ba6a85f624ce150dd2.tar.bz2
Merge topic 'ipo-xcode'
7e75568b Xcode: Support IPO (LTO) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !785
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 712a95e..6bbde13 100644
--- a/Modules/CheckIPOSupported.cmake
+++ b/Modules/CheckIPOSupported.cmake
@@ -217,7 +217,7 @@ function(check_ipo_supported)
return()
endif()
- if(CMAKE_GENERATOR MATCHES "^(Visual Studio |Xcode$)")
+ if(CMAKE_GENERATOR MATCHES "^Visual Studio ")
_ipo_not_supported("CMake doesn't support IPO for current generator")
return()
endif()