18 lines
409 B
Plaintext
18 lines
409 B
Plaintext
# Init @ variables before doing anything else
|
|
@PACKAGE_INIT@
|
|
|
|
# Dependencies
|
|
if(@CPPTRACE_GET_SYMBOLS_WITH_LIBDWARF@)
|
|
include(CMakeFindDependencyMacro)
|
|
find_dependency(zstd REQUIRED)
|
|
find_dependency(libdwarf REQUIRED)
|
|
endif()
|
|
|
|
# We cannot modify an existing IMPORT target
|
|
if(NOT TARGET cpptrace::cpptrace)
|
|
|
|
# import targets
|
|
include("${CMAKE_CURRENT_LIST_DIR}/@package_name@-targets.cmake")
|
|
|
|
endif()
|