Skip to content

Commit

Permalink
Merge pull request #1297 from metalMajor/bugfix/findLibJuice
Browse files Browse the repository at this point in the history
libjuice: cmake find does not use correct names on imported target
  • Loading branch information
paullouisageneau authored Nov 28, 2024
2 parents 770d074 + 5b5f394 commit e7d7dfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/Modules/FindLibJuice.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()
Expand Down

0 comments on commit e7d7dfb

Please sign in to comment.