aboutsummaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-08-03 12:18:45 +0200
committerThomas White <taw@physics.org>2020-08-03 12:18:45 +0200
commit42ae4de07aadc2cf79989581f44909dd3e2df804 (patch)
tree09d9e5f7ec475430039c66566d2245af309a5cbe /CMake
parent1fa93ed777dad73fbd7473f5a28bedda790a1100 (diff)
CMake: Switch to pkg-config for Xgandalf, PinkIndexer and FDIP
Diffstat (limited to 'CMake')
-rw-r--r--CMake/FindFDIP.cmake25
-rw-r--r--CMake/FindPINKINDEXER.cmake24
-rw-r--r--CMake/FindXGANDALF.cmake24
3 files changed, 0 insertions, 73 deletions
diff --git a/CMake/FindFDIP.cmake b/CMake/FindFDIP.cmake
deleted file mode 100644
index 3306b483..00000000
--- a/CMake/FindFDIP.cmake
+++ /dev/null
@@ -1,25 +0,0 @@
-# - Find FDIP
-# Find the native FDIP includes and library
-#
-# FDIP_INCLUDES - where to find streakFinder.h
-# FDIP_LIBRARIES - List of libraries when using FDIP.
-# FDIP_FOUND - True if FDIP found.
-
-if (FDIP_INCLUDES)
- # Already in cache, be silent
- set (FDIP_FIND_QUIETLY TRUE)
-endif (FDIP_INCLUDES)
-
-find_path (FDIP_INCLUDES fastDiffractionImageProcessing/streakFinder.h
- PATHS
- ${CMAKE_INSTALL_PREFIX}/include)
-
-find_library (FDIP_LIBRARIES fastDiffractionImageProcessing
- PATHS
- ${CMAKE_INSTALL_PREFIX}/lib)
-
-# handle the QUIETLY and REQUIRED arguments and set FDIP_FOUND to TRUE if
-# all listed variables are TRUE
-include (FindPackageHandleStandardArgs)
-set(FDIP_INCLUDES ${FDIP_INCLUDES};${FDIP_INCLUDES}/fastDiffractionImageProcessing)
-find_package_handle_standard_args (FDIP DEFAULT_MSG FDIP_LIBRARIES FDIP_INCLUDES)
diff --git a/CMake/FindPINKINDEXER.cmake b/CMake/FindPINKINDEXER.cmake
deleted file mode 100644
index 3c217ff9..00000000
--- a/CMake/FindPINKINDEXER.cmake
+++ /dev/null
@@ -1,24 +0,0 @@
-# - Find PINKINDEXER
-# Find the native PINKINDEXER includes and library
-#
-# PINKINDEXER_INCLUDES - where to find IndexerBase.h
-# PINKINDEXER_LIBRARIES - List of libraries when using PINKINDEXER.
-# PINKINDEXER_FOUND - True if PINKINDEXER found.
-
-if (PINKINDEXER_INCLUDES)
- # Already in cache, be silent
- set (PINKINDEXER_FIND_QUIETLY TRUE)
-endif (PINKINDEXER_INCLUDES)
-
-find_path (PINKINDEXER_INCLUDES pinkIndexer/PinkIndexer.h
- PATHS
- ${CMAKE_INSTALL_PREFIX}/include)
-
-find_library (PINKINDEXER_LIBRARIES pinkIndexer
- PATHS
- ${CMAKE_INSTALL_PREFIX}/lib)
-
-# handle the QUIETLY and REQUIRED arguments and set PINKINDEXER_FOUND to TRUE if
-# all listed variables are TRUE
-include (FindPackageHandleStandardArgs)
-find_package_handle_standard_args (PINKINDEXER DEFAULT_MSG PINKINDEXER_LIBRARIES PINKINDEXER_INCLUDES)
diff --git a/CMake/FindXGANDALF.cmake b/CMake/FindXGANDALF.cmake
deleted file mode 100644
index 8138da77..00000000
--- a/CMake/FindXGANDALF.cmake
+++ /dev/null
@@ -1,24 +0,0 @@
-# - Find XGANDALF
-# Find the native XGANDALF includes and library
-#
-# XGANDALF_INCLUDES - where to find IndexerBase.h
-# XGANDALF_LIBRARIES - List of libraries when using XGANDALF.
-# XGANDALF_FOUND - True if XGANDALF found.
-
-if (XGANDALF_INCLUDES)
- # Already in cache, be silent
- set (XGANDALF_FIND_QUIETLY TRUE)
-endif (XGANDALF_INCLUDES)
-
-find_path (XGANDALF_INCLUDES xgandalf/IndexerBase.h
- PATHS
- ${CMAKE_INSTALL_PREFIX}/include)
-
-find_library (XGANDALF_LIBRARIES xgandalf
- PATHS
- ${CMAKE_INSTALL_PREFIX}/lib)
-
-# handle the QUIETLY and REQUIRED arguments and set XGANDALF_FOUND to TRUE if
-# all listed variables are TRUE
-include (FindPackageHandleStandardArgs)
-find_package_handle_standard_args (XGANDALF DEFAULT_MSG XGANDALF_LIBRARIES XGANDALF_INCLUDES)