blob: 3306b4838a778d02a8d061943d58dbb0423642e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# - 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)
|