diff options
author | Laurent Montel <montel@kde.org> | 2007-01-27 12:55:29 +0000 |
---|---|---|
committer | Laurent Montel <montel@kde.org> | 2007-01-27 12:55:29 +0000 |
commit | 1fb5bcae073e078d25bbd6858cc416759b9de47e (patch) | |
tree | 69d30d1e6e02b840df461dffe9aa67ed4594cf1d /modules/CheckCXXCompilerFlag.cmake | |
parent | 1f724d6c01e65eb2a068aea968d34c140589da29 (diff) | |
download | extra-cmake-modules-1fb5bcae073e078d25bbd6858cc416759b9de47e.tar.gz extra-cmake-modules-1fb5bcae073e078d25bbd6858cc416759b9de47e.tar.bz2 |
Remove module which are now into cmake-2.4.5
FindLibXslt.cmake can be remove there is different from
cmake file (test xsltproc) and FindOpenSSL.cmake (I must
look at difference)
svn path=/trunk/KDE/kdelibs/; revision=627623
Diffstat (limited to 'modules/CheckCXXCompilerFlag.cmake')
-rw-r--r-- | modules/CheckCXXCompilerFlag.cmake | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/modules/CheckCXXCompilerFlag.cmake b/modules/CheckCXXCompilerFlag.cmake deleted file mode 100644 index 43ea9a64..00000000 --- a/modules/CheckCXXCompilerFlag.cmake +++ /dev/null @@ -1,21 +0,0 @@ -# - Check whether the CXX compiler supports a given flag. -# CHECK_CXX_COMPILER_FLAG(FLAG VARIABLE) -# -# FLAG - the compiler flag -# VARIABLE - variable to store the result - -# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> -# -# Redistribution and use is allowed according to the terms of the BSD license. -# For details see the accompanying COPYING-CMAKE-SCRIPTS file. - - -INCLUDE(CheckCXXSourceCompiles) - -MACRO (CHECK_CXX_COMPILER_FLAG _FLAG _RESULT) - SET(SAFE_CMAKE_REQUIRED_DEFINITIONS "${CMAKE_REQUIRED_DEFINITIONS}") - SET(CMAKE_REQUIRED_DEFINITIONS "${_FLAG}") - CHECK_CXX_SOURCE_COMPILES("int main() { return 0;}" ${_RESULT}) - SET (CMAKE_REQUIRED_DEFINITIONS "${SAFE_CMAKE_REQUIRED_DEFINITIONS}") -ENDMACRO (CHECK_CXX_COMPILER_FLAG) - |