aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-08-07 18:05:04 +0200
committerThomas White <taw@physics.org>2020-08-07 18:07:07 +0200
commitd87110b5501b53cef55b210c9e4fe8f7e5c25687 (patch)
treee1e8945ff759ad2d0f4f76602362a7bda59e8eef /libcrystfel
parentc0b01532441407dc97eaa9d44b540f1dd0223990 (diff)
CMake: Fix incorrect variable names
These are different when using pkg-config compared to the custom scripts.
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcrystfel/CMakeLists.txt b/libcrystfel/CMakeLists.txt
index 6bac46f0..8bfb355b 100644
--- a/libcrystfel/CMakeLists.txt
+++ b/libcrystfel/CMakeLists.txt
@@ -132,17 +132,17 @@ target_link_libraries(${PROJECT_NAME} PRIVATE util ${HDF5_C_LIBRARIES} ${ZLIB_LI
Threads::Threads GSL::gsl m)
if (XGANDALF_FOUND)
- target_include_directories(${PROJECT_NAME} PRIVATE ${XGANDALF_INCLUDES})
+ target_include_directories(${PROJECT_NAME} PRIVATE ${XGANDALF_INCLUDE_DIRS})
target_link_libraries(${PROJECT_NAME} PRIVATE ${XGANDALF_LIBRARIES})
endif (XGANDALF_FOUND)
if (FDIP_FOUND)
- target_include_directories(${PROJECT_NAME} PRIVATE ${FDIP_INCLUDES})
+ target_include_directories(${PROJECT_NAME} PRIVATE ${FDIP_INCLUDE_DIRS})
target_link_libraries(${PROJECT_NAME} PRIVATE ${FDIP_LIBRARIES})
endif (FDIP_FOUND)
if (PINKINDEXER_FOUND)
- target_include_directories(${PROJECT_NAME} PRIVATE ${PINKINDEXER_INCLUDES})
+ target_include_directories(${PROJECT_NAME} PRIVATE ${PINKINDEXER_INCLUDE_DIRS})
target_link_libraries(${PROJECT_NAME} PRIVATE ${PINKINDEXER_LIBRARIES})
endif (PINKINDEXER_FOUND)