diff options
author | Kevin Funk <kfunk@kde.org> | 2017-04-09 23:05:45 +0200 |
---|---|---|
committer | Kevin Funk <kfunk@kde.org> | 2017-04-10 09:02:52 +0200 |
commit | 3d1d436da60a32e0ab5bec3e09173c4f865ec3f6 (patch) | |
tree | e1153a77750db7a68ac420dbae56289a7191f631 | |
parent | e82c7b986dd55aa31f22a5e4ddb53c42c363fc9c (diff) | |
download | extra-cmake-modules-3d1d436da60a32e0ab5bec3e09173c4f865ec3f6.tar.gz extra-cmake-modules-3d1d436da60a32e0ab5bec3e09173c4f865ec3f6.tar.bz2 |
Fix compilation under AppleClang
Summary:
Broken since we started to treat Clang and AppleClang differently (with
the switch to CMake 3.0)
FIXED-IN: v5.34.0
BUG: 377933
Reviewers: apol, rjvbb
Reviewed By: apol, rjvbb
Subscribers: #frameworks, #build_system
Tags: #frameworks, #build_system
Differential Revision: https://phabricator.kde.org/D5379
-rw-r--r-- | kde-modules/KDECompilerSettings.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kde-modules/KDECompilerSettings.cmake b/kde-modules/KDECompilerSettings.cmake index 781fc384..1fe0661b 100644 --- a/kde-modules/KDECompilerSettings.cmake +++ b/kde-modules/KDECompilerSettings.cmake @@ -314,7 +314,7 @@ function(KDE_TARGET_ENABLE_EXCEPTIONS target mode) target_compile_options(${target} ${mode} "$<$<CXX_COMPILER_ID:Intel>:-fexceptions>") endif() target_compile_options(${target} ${mode} - "$<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>>:-fexceptions>") + "$<$<OR:$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-fexceptions>") endfunction() function(KDE_ENABLE_EXCEPTIONS) |