1
0
Fork 0
cmake_helpers/external/crash_reports/breakpad/CMakeLists.txt
2019-11-18 00:32:53 +03:00

24 lines
681 B
CMake

# This file is part of Desktop App Toolkit,
# a set of libraries for developing nice desktop applications.
#
# For license and copyright information please follow this link:
# https://github.com/desktop-app/legal/blob/master/LEGAL
add_library(external_breakpad INTERFACE IMPORTED GLOBAL)
target_include_directories(external_breakpad SYSTEM
INTERFACE
${libs_loc}/breakpad/src
)
target_link_libraries(external_breakpad
INTERFACE
windows/common
windows/handler/exception_handler
windows/crash_generation/crash_generation_client
)
target_link_directories(external_breakpad
INTERFACE
${libs_loc}/breakpad/src/out/$<IF:$<CONFIG:Debug>,Debug,Release>/obj/client
)