summaryrefslogtreecommitdiff
path: root/CMAKE
diff options
context:
space:
mode:
authorjulie <julielangou@users.noreply.github.com>2011-02-07 14:54:09 +0000
committerjulie <julielangou@users.noreply.github.com>2011-02-07 14:54:09 +0000
commit310741c073cc5b9a0c3705b5e68672cdc602dce1 (patch)
treed7d72b73467e6c0e7e6bf3e04d385a2c1f79c41e /CMAKE
parentefbb122bafe7854fcae4275f6fea3cfac0327485 (diff)
downloadlapack-310741c073cc5b9a0c3705b5e68672cdc602dce1.tar.gz
lapack-310741c073cc5b9a0c3705b5e68672cdc602dce1.tar.bz2
lapack-310741c073cc5b9a0c3705b5e68672cdc602dce1.zip
Revert "Move CMake files to a subdirectory"
This reverts commit bc425c443232cf9737afcce38753f79963d31e0a.
Diffstat (limited to 'CMAKE')
-rw-r--r--CMAKE/CheckTimeFunction.cmake28
-rw-r--r--CMAKE/lapack-config-build.cmake.in1
-rw-r--r--CMAKE/lapack-config-install.cmake.in2
-rw-r--r--CMAKE/lapack-config-version.cmake.in8
4 files changed, 0 insertions, 39 deletions
diff --git a/CMAKE/CheckTimeFunction.cmake b/CMAKE/CheckTimeFunction.cmake
deleted file mode 100644
index 350a5913..00000000
--- a/CMAKE/CheckTimeFunction.cmake
+++ /dev/null
@@ -1,28 +0,0 @@
-# - Check if the Fortran function exists.
-# CHECK_TIME_FUNCTION(FUNCTION VARIABLE TYPE)
-# - macro which checks if the Fortran function exists
-# FUNCTION - the name of the Fortran function
-# VARIABLE - variable to store the result
-#
-
-macro(CHECK_TIME_FUNCTION FUNCTION VARIABLE)
-
- try_compile(RES
- ${PROJECT_BINARY_DIR}/INSTALL
- ${PROJECT_SOURCE_DIR}/INSTALL
- TIMING secondtst_${FUNCTION}
- OUTPUT_VARIABLE OUTPUT)
-
- if(RES)
- set(${VARIABLE} ${FUNCTION} CACHE INTERNAL "Have Fortran function ${FUNCTION}")
- message(STATUS "Looking for Fortran ${FUNCTION} - found")
- file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
- "Fortran ${FUNCTION} exists. ${OUTPUT} \n\n")
- else(RES)
- message(STATUS "Looking for Fortran ${FUNCTION} - not found")
- file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
- "Fortran ${FUNCTION} does not exist. \n ${OUTPUT} \n")
- endif(RES)
-endmacro(CHECK_TIME_FUNCTION)
-
-
diff --git a/CMAKE/lapack-config-build.cmake.in b/CMAKE/lapack-config-build.cmake.in
deleted file mode 100644
index 8d60cc88..00000000
--- a/CMAKE/lapack-config-build.cmake.in
+++ /dev/null
@@ -1 +0,0 @@
-include("@LAPACK_BINARY_DIR@/lapack-targets.cmake")
diff --git a/CMAKE/lapack-config-install.cmake.in b/CMAKE/lapack-config-install.cmake.in
deleted file mode 100644
index 0c55fc17..00000000
--- a/CMAKE/lapack-config-install.cmake.in
+++ /dev/null
@@ -1,2 +0,0 @@
-get_filename_component(_SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
-include(${_SELF_DIR}/lapack-targets.cmake)
diff --git a/CMAKE/lapack-config-version.cmake.in b/CMAKE/lapack-config-version.cmake.in
deleted file mode 100644
index 2caeb4ab..00000000
--- a/CMAKE/lapack-config-version.cmake.in
+++ /dev/null
@@ -1,8 +0,0 @@
-set(PACKAGE_VERSION "@LAPACK_VERSION@")
-if(NOT ${PACKAGE_FIND_VERSION} VERSION_GREATER ${PACKAGE_VERSION})
- set(PACKAGE_VERSION_COMPATIBLE 1)
- if(${PACKAGE_FIND_VERSION} VERSION_EQUAL ${PACKAGE_VERSION})
- set(PACKAGE_VERSION_EXACT 1)
- endif()
-endif()
-