From 5b5f394d5554743cac8e4a146911b1a23479abfa Mon Sep 17 00:00:00 2001 From: Tom Deblauwe Date: Tue, 26 Nov 2024 17:24:53 +0100 Subject: [PATCH] Use correct include_dir names that come out of find std args. --- cmake/Modules/FindLibJuice.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/Modules/FindLibJuice.cmake b/cmake/Modules/FindLibJuice.cmake index 2a01c4846..a255b89b3 100644 --- a/cmake/Modules/FindLibJuice.cmake +++ b/cmake/Modules/FindLibJuice.cmake @@ -9,8 +9,8 @@ if (NOT TARGET LibJuice::LibJuice) add_library(LibJuice::LibJuice UNKNOWN IMPORTED) set_target_properties(LibJuice::LibJuice PROPERTIES IMPORTED_LOCATION "${JUICE_LIBRARY}" - INTERFACE_INCLUDE_DIRECTORIES "${JUICE_INCLUDE_DIRS}" - INTERFACE_LINK_LIBRARIES "${JUICE_LIBRARIES}" + INTERFACE_INCLUDE_DIRECTORIES "${JUICE_INCLUDE_DIR}" + INTERFACE_LINK_LIBRARIES "${JUICE_LIBRARY}" IMPORTED_LINK_INTERFACE_LANGUAGES "C") endif () endif ()