aboutsummaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-04-16 17:25:50 +0200
committerThomas White <taw@physics.org>2019-04-16 17:26:27 +0200
commit50a3cb06809bae0f56e5063e5e051a6d04502b99 (patch)
tree2f46a4f00ed1ec9fac7bb674837400a69499cab0 /CMake
parent6462dabdb52c14437f4e72de0a09d5efb04285f6 (diff)
Clean up residual CBFlib stuff
Diffstat (limited to 'CMake')
-rw-r--r--CMake/FindCBF.cmake31
1 files changed, 0 insertions, 31 deletions
diff --git a/CMake/FindCBF.cmake b/CMake/FindCBF.cmake
deleted file mode 100644
index e51fd01a..00000000
--- a/CMake/FindCBF.cmake
+++ /dev/null
@@ -1,31 +0,0 @@
-# - Find CBF
-# Find the native CBF includes and library
-#
-# CBF_INCLUDES - where to find cbf.h
-# CBF_LIBRARIES - List of libraries when using CBF.
-# CBF_FOUND - True if CBF found.
-
-if (CBF_INCLUDES)
- # Already in cache, be silent
- set (CBF_FIND_QUIETLY TRUE)
-endif (CBF_INCLUDES)
-
-find_path (CBF_CBF_INCLUDES cbf/cbf.h)
-find_path (CBFLIB_CBF_INCLUDES cbflib/cbf.h)
-
-if (NOT CBF_CBF_INCLUDES MATCHES "NOTFOUND")
- message(STATUS "Found cbf/cbf.h in ${CBF_CBF_INCLUDES}")
- set(CBF_INCLUDES ${CBF_CBF_INCLUDES})
- set(HAVE_CBF_CBF_H ON)
-elseif (NOT CBFLIB_CBF_INCLUDES MATCHES "NOTFOUND")
- message(STATUS "Found cbflib/cbf.h in ${CBFLIB_CBF_INCLUDES}")
- set(CBF_INCLUDES ${CBFLIB_CBF_INCLUDES})
- set(HAVE_CBFLIB_CBF_H ON)
-endif (NOT CBF_CBF_INCLUDES MATCHES "NOTFOUND")
-
-find_library (CBF_LIBRARIES NAMES cbf)
-
-# handle the QUIETLY and REQUIRED arguments and set CBF_FOUND to TRUE if
-# all listed variables are TRUE
-include (FindPackageHandleStandardArgs)
-find_package_handle_standard_args (CBF DEFAULT_MSG CBF_LIBRARIES CBF_INCLUDES)