Skip to content

Commit

Permalink
Merge pull request #279 from rafzi/patch-1
Browse files Browse the repository at this point in the history
Fix dependency of LibDwarf
  • Loading branch information
wrwilliams committed Dec 2, 2016
2 parents 98c54eb + c8b61f2 commit 6b9f3e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmake/packages.cmake
Expand Up @@ -20,7 +20,10 @@ if (UNIX)

add_library(libelf_imp SHARED IMPORTED)
set_property(TARGET libelf_imp
PROPERTY IMPORTED_LOCATION ${LIBELF_LIBRARIES})
PROPERTY IMPORTED_LOCATION ${LIBELF_LIBRARIES})
if(NOT LIBELF_FOUND)
add_dependencies(libelf_imp LibElf)
endif()

find_package (LibDwarf)

Expand Down

0 comments on commit 6b9f3e1

Please sign in to comment.