aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-07-31 11:13:35 +0200
committerThomas White <taw@physics.org>2020-07-31 11:13:35 +0200
commit98a00c7930744a3c4fe69b0de60a6f9a86cd4f17 (patch)
tree38b00d569ed30dc5de7371c7ae74983b569d5a82
parentaa997b67c7b4bc762df278ce952f3c1f766c2a5b (diff)
Remove unused NBP detection
-rw-r--r--CMake/FindNBP.cmake24
-rw-r--r--libcrystfel/config.h.cmake.in1
2 files changed, 0 insertions, 25 deletions
diff --git a/CMake/FindNBP.cmake b/CMake/FindNBP.cmake
deleted file mode 100644
index 052f16df..00000000
--- a/CMake/FindNBP.cmake
+++ /dev/null
@@ -1,24 +0,0 @@
-# - Find NBP - numericalBraggPrediction
-# Find the native NBP includes and library
-#
-# NBP_INCLUDES - where to find IndexerBase.h
-# NBP_LIBRARIES - List of libraries when using NBP.
-# NBP_FOUND - True if NBP found.
-
-if (NBP_INCLUDES)
- # Already in cache, be silent
- set (NBP_FIND_QUIETLY TRUE)
-endif (NBP_INCLUDES)
-
-find_path (NBP_INCLUDES numericalBraggPrediction/ProjectionCalculation.h
- PATHS
- ${CMAKE_INSTALL_PREFIX}/include)
-
-find_library (NBP_LIBRARIES numericalBraggPrediction
- PATHS
- ${CMAKE_INSTALL_PREFIX}/lib)
-
-# handle the QUIETLY and REQUIRED arguments and set NBP_FOUND to TRUE if
-# all listed variables are TRUE
-include (FindPackageHandleStandardArgs)
-find_package_handle_standard_args (NBP DEFAULT_MSG NBP_LIBRARIES NBP_INCLUDES)
diff --git a/libcrystfel/config.h.cmake.in b/libcrystfel/config.h.cmake.in
index 3433e043..7f0dcd94 100644
--- a/libcrystfel/config.h.cmake.in
+++ b/libcrystfel/config.h.cmake.in
@@ -3,7 +3,6 @@
#cmakedefine HAVE_CLOCK_GETTIME
#cmakedefine HAVE_FFTW
#cmakedefine HAVE_XGANDALF
-#cmakedefine HAVE_NBP
#cmakedefine HAVE_PINKINDEXER
#cmakedefine HAVE_FDIP
#cmakedefine HAVE_CURSES