summaryrefslogtreecommitdiff
path: root/Modules/CheckIPOSupported.cmake
diff options
context:
space:
mode:
authorRuslan Baratov <ruslan_baratov@yahoo.com>2017-04-27 21:18:26 +0800
committerRuslan Baratov <ruslan_baratov@yahoo.com>2017-05-02 18:33:25 +0300
commit7e75568b001e29a7428d7489c57cebd909359571 (patch)
tree19631d949a74b59572214900a6e9afa8d42b0012 /Modules/CheckIPOSupported.cmake
parente80e8eb609cc7dd8c4dca46b9c2819afd2293229 (diff)
downloadcmake-7e75568b001e29a7428d7489c57cebd909359571.tar.gz
Xcode: Support IPO (LTO)
Diffstat (limited to 'Modules/CheckIPOSupported.cmake')
-rw-r--r--Modules/CheckIPOSupported.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CheckIPOSupported.cmake b/Modules/CheckIPOSupported.cmake
index 712a95e0c2..6bbde135ea 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()