Kaynağa Gözat

Merge pull request #1297 from metalMajor/bugfix/findLibJuice

libjuice: cmake find does not use correct names on imported target
Paul-Louis Ageneau 9 ay önce
ebeveyn
işleme
e7d7dfb87c
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      cmake/Modules/FindLibJuice.cmake

+ 2 - 2
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 ()