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