diff options
author | Ruslan Baratov <ruslan_baratov@yahoo.com> | 2017-04-27 21:18:26 +0800 |
---|---|---|
committer | Ruslan Baratov <ruslan_baratov@yahoo.com> | 2017-05-02 18:33:25 +0300 |
commit | 7e75568b001e29a7428d7489c57cebd909359571 (patch) | |
tree | 19631d949a74b59572214900a6e9afa8d42b0012 /Modules/CheckIPOSupported.cmake | |
parent | e80e8eb609cc7dd8c4dca46b9c2819afd2293229 (diff) | |
download | cmake-7e75568b001e29a7428d7489c57cebd909359571.tar.gz |
Xcode: Support IPO (LTO)
Diffstat (limited to 'Modules/CheckIPOSupported.cmake')
-rw-r--r-- | Modules/CheckIPOSupported.cmake | 2 |
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() |