summaryrefslogtreecommitdiffstats
path: root/src/ceph/cmake/modules/FindCython.cmake
diff options
context:
space:
mode:
authorQiaowei Ren <qiaowei.ren@intel.com>2018-03-01 14:38:11 +0800
committerQiaowei Ren <qiaowei.ren@intel.com>2018-03-01 14:38:11 +0800
commit7da45d65be36d36b880cc55c5036e96c24b53f00 (patch)
treed4f944eb4f8f8de50a9a7584ffa408dc3a3185b2 /src/ceph/cmake/modules/FindCython.cmake
parent691462d09d0987b47e112d6ee8740375df3c51b2 (diff)
remove ceph code
This patch removes initial ceph code, due to license issue. Change-Id: I092d44f601cdf34aed92300fe13214925563081c Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
Diffstat (limited to 'src/ceph/cmake/modules/FindCython.cmake')
-rw-r--r--src/ceph/cmake/modules/FindCython.cmake26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/ceph/cmake/modules/FindCython.cmake b/src/ceph/cmake/modules/FindCython.cmake
deleted file mode 100644
index 0048bf7..0000000
--- a/src/ceph/cmake/modules/FindCython.cmake
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# Cython
-#
-
-SET(Cython${PYTHON_VERSION}_FOUND FALSE)
-# Try to run Cython, to make sure it works:
-execute_process(
- COMMAND ${PYTHON${PYTHON_VERSION}_EXECUTABLE} -m cython --version
- RESULT_VARIABLE CYTHON_RESULT
- OUTPUT_QUIET
- ERROR_QUIET
- )
-if (CYTHON_RESULT EQUAL 0)
- SET(Cython${PYTHON_VERSION}_FOUND TRUE)
-endif (CYTHON_RESULT EQUAL 0)
-
-
-IF (Cython${PYTHON_VERSION}_FOUND)
- IF (NOT Cython_FIND_QUIETLY)
- MESSAGE(STATUS "Found cython${PYTHON_VERSION}")
- ENDIF (NOT Cython_FIND_QUIETLY)
-ELSE (Cython${PYTHON_VERSION}_FOUND)
- IF (Cython_FIND_REQUIRED)
- MESSAGE(FATAL_ERROR "Could not find cython${PYTHON_VERSION}. Please install Cython.")
- ENDIF (Cython_FIND_REQUIRED)
-ENDIF (Cython${PYTHON_VERSION}_FOUND)