From 1fb5bcae073e078d25bbd6858cc416759b9de47e Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Sat, 27 Jan 2007 12:55:29 +0000 Subject: 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 --- modules/CheckCXXCompilerFlag.cmake | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 modules/CheckCXXCompilerFlag.cmake (limited to 'modules/CheckCXXCompilerFlag.cmake') 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, -# -# 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) - -- cgit v1.2.1