aboutsummaryrefslogtreecommitdiff
path: root/modules/FindKDE4.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2006-01-25 20:41:54 +0000
committerAlexander Neundorf <neundorf@kde.org>2006-01-25 20:41:54 +0000
commit1d78fb83f0d0c05d0d0bd8b4bbb53747fc55778d (patch)
tree656ef2601e1adce802373bb79ef185ee768bb638 /modules/FindKDE4.cmake
parent70e36df077f2685f6feda284cb02c27162d43344 (diff)
downloadextra-cmake-modules-1d78fb83f0d0c05d0d0bd8b4bbb53747fc55778d.tar.gz
extra-cmake-modules-1d78fb83f0d0c05d0d0bd8b4bbb53747fc55778d.tar.bz2
add the stuff moved from kdesdk, maybe...
Alex svn path=/trunk/KDE/kdelibs/; revision=502383
Diffstat (limited to 'modules/FindKDE4.cmake')
-rw-r--r--modules/FindKDE4.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/FindKDE4.cmake b/modules/FindKDE4.cmake
index 8553ef9f..012c9a10 100644
--- a/modules/FindKDE4.cmake
+++ b/modules/FindKDE4.cmake
@@ -29,12 +29,12 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.2)
IF(UNIX)
IF(APPLE)
- MESSAGE(SEND_ERROR "Mac OSX not yet supported by FindKDE4.cmake and KDE4Macros.cmake, please edit them as required")
+ MESSAGE(FATAL_ERROR "Mac OSX not yet supported by FindKDE4.cmake and KDE4Macros.cmake, please edit them as required")
ELSE(APPLE)
FIND_PACKAGE(X11 REQUIRED)
ENDIF(APPLE)
ELSE(UNIX)
- MESSAGE(SEND_ERROR "Win32 not yet supported by FindKDE4.cmake and KDE4Macros.cmake, please edit them as required")
+ MESSAGE(FATAL_ERROR "Win32 not yet supported by FindKDE4.cmake and KDE4Macros.cmake, please edit them as required")
ENDIF(UNIX)
#this line includes FindQt.cmake, which searches the Qt library and headers
@@ -56,7 +56,7 @@ IF(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,--fatal-warnings -avoid-version -Wl,--no-undefined -lc")
SET(CMAKE_MODULE_LINKER_FLAGS "-Wl,--fatal-warnings -avoid-version -Wl,--no-undefined -lc")
SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-long-long -ansi -Wundef -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-common")
- SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common")
+ SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -fno-exceptions -fno-check-new -fno-common")
ENDIF(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
IF(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")