diff options
author | David Faure <faure@kde.org> | 2006-02-15 10:49:53 +0000 |
---|---|---|
committer | David Faure <faure@kde.org> | 2006-02-15 10:49:53 +0000 |
commit | eaad615ee85800bedbf2088326399027c95d0740 (patch) | |
tree | a246899fbfde3fe0b1d000f2b93455cf20dcd144 /modules/FindKDE3.cmake | |
parent | ffc69376dc591eae7b0ed2e974a599fb1b8b2aa8 (diff) | |
download | extra-cmake-modules-eaad615ee85800bedbf2088326399027c95d0740.tar.gz extra-cmake-modules-eaad615ee85800bedbf2088326399027c95d0740.tar.bz2 |
Hmm, "NOT" can't be lowercased. I tested before lowercasing that last one, of course...
svn path=/trunk/KDE/kdelibs/; revision=509625
Diffstat (limited to 'modules/FindKDE3.cmake')
-rw-r--r-- | modules/FindKDE3.cmake | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/FindKDE3.cmake b/modules/FindKDE3.cmake index 498dffec..828ca056 100644 --- a/modules/FindKDE3.cmake +++ b/modules/FindKDE3.cmake @@ -42,7 +42,7 @@ set(QT_AND_KDECORE_LIBS ${QT_LIBRARIES} kdecore) #add some KDE specific stuff set(KDE3_DEFINITIONS -DQT_CLEAN_NAMESPACE -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common) -#only on linux, but not e.g. on FreeBSD: +#only on linux, but NOT e.g. on FreeBSD: if(CMAKE_SYSTEM_NAME MATCHES "Linux") set(KDE3_DEFINITIONS ${KDE3_DEFINITIONS} -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_GNU_SOURCE) endif(CMAKE_SYSTEM_NAME MATCHES "Linux") @@ -143,16 +143,16 @@ MACRO (KDE3_PRINT_RESULTS) ENDMACRO (KDE3_PRINT_RESULTS) -if (KDE3_FIND_REQUIRED AND not KDE3_FOUND) +if (KDE3_FIND_REQUIRED AND NOT KDE3_FOUND) #bail out if something wasn't found KDE3_PRINT_RESULTS() - message(FATAL_ERROR "Could not find everything required for compiling KDE 3 programs") + message(FATAL_ERROR "Could NOT find everything required for compiling KDE 3 programs") -endif (KDE3_FIND_REQUIRED AND not KDE3_FOUND) +endif (KDE3_FIND_REQUIRED AND NOT KDE3_FOUND) -if (not KDE3_FIND_QUIETLY) +if (NOT KDE3_FIND_QUIETLY) KDE3_PRINT_RESULTS() -endif (not KDE3_FIND_QUIETLY) +endif (NOT KDE3_FIND_QUIETLY) #add the found Qt and KDE include directories to the current include path set(KDE3_INCLUDE_DIRS ${QT_INCLUDE_DIR} ${KDE3_INCLUDE_DIR}) |