From 1f7db71c986a59dbf0ecc01d085640673226c008 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 17 Jun 2021 17:17:57 +0200 Subject: CMake: Use ZMQ_LDFLAGS instead of ZMQ_LIBRARIES --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bb3ed41f..c569cbe9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -260,7 +260,7 @@ list(APPEND CRYSTFEL_EXECUTABLES indexamajig) if ( ZMQ_FOUND ) target_include_directories(indexamajig PRIVATE ${ZMQ_INCLUDE_DIR}) - target_link_libraries(indexamajig ${ZMQ_LIBRARIES}) + target_link_libraries(indexamajig ${ZMQ_LDFLAGS}) endif () -- cgit v1.2.3