diff options
author | Laurent Montel <montel@kde.org> | 2006-10-23 12:58:07 +0000 |
---|---|---|
committer | Laurent Montel <montel@kde.org> | 2006-10-23 12:58:07 +0000 |
commit | 149c64b2cff84d1440eac45dc02e492aae858fc9 (patch) | |
tree | b49a973efc96a4faefe24df3b641582a245b8a44 /modules | |
parent | 2601ab0e7ad098c856d5fff60e7b3a40c9db34b3 (diff) | |
download | extra-cmake-modules-149c64b2cff84d1440eac45dc02e492aae858fc9.tar.gz extra-cmake-modules-149c64b2cff84d1440eac45dc02e492aae858fc9.tar.bz2 |
Remove definition "-DKDE_USE_FINAL" when we can't compile with enable final argument
svn path=/trunk/KDE/kdelibs/; revision=598383
Diffstat (limited to 'modules')
-rw-r--r-- | modules/KDE4Macros.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake index 988e8c52..68e462e2 100644 --- a/modules/KDE4Macros.cmake +++ b/modules/KDE4Macros.cmake @@ -733,7 +733,9 @@ ENDMACRO(KDE4_REMOVE_OBSOLETE_CMAKE_FILES) MACRO(KDE4_NO_ENABLE_FINAL _project_name) if(KDE4_ENABLE_FINAL) set(KDE4_ENABLE_FINAL OFF) + REMOVE_DEFINITIONS(-DKDE_USE_FINAL) MESSAGE(STATUS "You used enable-final argument but \"${_project_name}\" doesn't support it. Try to fix compile it and remove KDE4_NO_ENABLE_FINAL macro. Thanks") + endif(KDE4_ENABLE_FINAL) ENDMACRO(KDE4_NO_ENABLE_FINAL _project_name) |