tdesktop/cmake/external/crash_reports/CMakeLists.txt
2019-11-11 13:39:48 +03:00

15 lines
310 B
CMake

add_library(external_crash_reports INTERFACE IMPORTED GLOBAL)
if (WIN32)
add_subdirectory(breakpad)
target_link_libraries(external_crash_reports
INTERFACE
external_breakpad
)
else()
target_link_libraries(external_crash_reports
INTERFACE
external_crashpad
)
endif()