From e891ec1ba2e2c2a411597bcd9a01d9853e47a704 Mon Sep 17 00:00:00 2001 From: Priit Laes Date: Fri, 17 Apr 2015 11:00:42 +0300 Subject: [PATCH] build: Remove unneeded f2c cmake scripts --- cMake/FindF2C.cmake | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 cMake/FindF2C.cmake diff --git a/cMake/FindF2C.cmake b/cMake/FindF2C.cmake deleted file mode 100644 index 6b3e2a62f647..000000000000 --- a/cMake/FindF2C.cmake +++ /dev/null @@ -1,39 +0,0 @@ -# This module finds the f2c library. -# -# This module sets the following variables: -# F2C_FOUND - set to true if library is found -# F2C_DEFINITIONS - compilation options to use f2c -# F2C_LIBRARIES - f2c library name (using full path name) - -if (F2C_LIBRARIES) - - set(F2C_FOUND TRUE) - -else(F2C_LIBRARIES) - - set(F2C_DEFINITIONS) - - find_library(F2C_LIBRARIES f2c - /usr/lib - /usr/local/lib - ) - - if(F2C_LIBRARIES) - set(F2C_FOUND TRUE) - else() - set(F2C_FOUND FALSE) - endif() - - if(NOT F2C_FIND_QUIETLY) - if(F2C_FOUND) - message(STATUS "f2c library found.") - else(F2C_FOUND) - if(F2C_FIND_REQUIRED) - message(FATAL_ERROR "f2c library not found. Please specify library location.") - else() - message(STATUS "f2c library not found. Please specify library location.") - endif() - endif(F2C_FOUND) - endif(NOT F2C_FIND_QUIETLY) - -endif(F2C_LIBRARIES)