summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorRuslan Baratov <ruslan_baratov@yahoo.com>2017-04-27 13:18:26 (GMT)
committerRuslan Baratov <ruslan_baratov@yahoo.com>2017-05-02 15:33:25 (GMT)
commit7e75568b001e29a7428d7489c57cebd909359571 (patch)
tree19631d949a74b59572214900a6e9afa8d42b0012 /Modules
parente80e8eb609cc7dd8c4dca46b9c2819afd2293229 (diff)
downloadCMake-7e75568b001e29a7428d7489c57cebd909359571.zip
CMake-7e75568b001e29a7428d7489c57cebd909359571.tar.gz
CMake-7e75568b001e29a7428d7489c57cebd909359571.tar.bz2
Xcode: Support IPO (LTO)
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()