aboutsummaryrefslogtreecommitdiff
path: root/CMake/FindFDIP.cmake
diff options
context:
space:
mode:
authorYaroslav Gevorkov <yaroslav.gevorkov@desy.de>2018-05-23 23:01:09 +0200
committerThomas White <taw@physics.org>2018-05-24 15:28:58 +0200
commite5f48fe09f1901d70342a9dde418f7b6843afdcc (patch)
tree78e8ead65b992e7656e357d16a53489a7006f4a1 /CMake/FindFDIP.cmake
parent2c3009115b8cc34c6ea085e45856244457198541 (diff)
updated FDIP cmake to newest version
Diffstat (limited to 'CMake/FindFDIP.cmake')
-rw-r--r--CMake/FindFDIP.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/CMake/FindFDIP.cmake b/CMake/FindFDIP.cmake
index 6db3b993..3306b483 100644
--- a/CMake/FindFDIP.cmake
+++ b/CMake/FindFDIP.cmake
@@ -10,16 +10,16 @@ if (FDIP_INCLUDES)
set (FDIP_FIND_QUIETLY TRUE)
endif (FDIP_INCLUDES)
-find_path (FDIP_INCLUDES streakFinder.h
+find_path (FDIP_INCLUDES fastDiffractionImageProcessing/streakFinder.h
PATHS
- ${CMAKE_INSTALL_PREFIX}/include
- PATH_SUFFIXES fastDiffractionImageProcessing)
+ ${CMAKE_INSTALL_PREFIX}/include)
find_library (FDIP_LIBRARIES fastDiffractionImageProcessing
PATHS
- ${CMAKE_INSTALL_PREFIX}/lib)
+ ${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)