aboutsummaryrefslogblamecommitdiff
path: root/third_party/backtrace-mingw/CMakeLists.txt
blob: 394d4204920f4c571d45901f9cb0a54c46546076 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                           
add_library(backtrace SHARED backtrace.c)
find_path(BFD_INCLUDE_DIR NAMES bfd.h)
find_library(BFD_LIBRARIES NAMES bfd)
find_library(IBERTY_LIBRARIES NAMES iberty)
find_package(ZLIB REQUIRED)
target_link_libraries(backtrace
	${BFD_LIBRARIES}
	${IBERTY_LIBRARIES}
	${ZLIB_LIBRARIES}
	imagehlp
)