Conditionally find_dependency(libdwarf)
This commit is contained in:
parent
c6ea891629
commit
bb487d3e56
@ -2,8 +2,10 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
# Dependencies
|
||||
if(@CPPTRACE_GET_SYMBOLS_WITH_LIBDWARF@)
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(libdwarf REQUIRED)
|
||||
endif()
|
||||
|
||||
# We cannot modify an existing IMPORT target
|
||||
if(NOT TARGET assert::assert)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user