diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-09-28 14:12:46 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-09-28 14:12:46 +0200 |
commit | 4ea2417101ff930495e07c0afdb34cbae533fee7 (patch) | |
tree | 6440db9713a75723b6c17bf22198e6996b1cfdba /3rd-party | |
parent | breakpad: keep all build artifacts (diff) | |
download | smolbote-4ea2417101ff930495e07c0afdb34cbae533fee7.tar.xz |
breakpad: Use system breakpad by default
Diffstat (limited to '3rd-party')
-rw-r--r-- | 3rd-party/breakpad/CMakeLists.txt | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/3rd-party/breakpad/CMakeLists.txt b/3rd-party/breakpad/CMakeLists.txt index dd0ef8e..56e30dc 100644 --- a/3rd-party/breakpad/CMakeLists.txt +++ b/3rd-party/breakpad/CMakeLists.txt @@ -1,11 +1,13 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") - if (NOT EXISTS "${CMAKE_CURRENT_LIST_DIR}/install") - message(FATAL_ERROR "Could not find breakpad build, see 3rd-party/breakpad/build.sh") - endif () - find_package(PkgConfig REQUIRED) - set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:${CMAKE_CURRENT_LIST_DIR}/install/lib/pkgconfig" ) + + # if you do not have breakpad installed, use the build.sh script and uncomment this +# if (NOT EXISTS "${CMAKE_CURRENT_LIST_DIR}/install") +# message(FATAL_ERROR "Could not find breakpad build, see 3rd-party/breakpad/build.sh") +# endif () +# set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:${CMAKE_CURRENT_LIST_DIR}/install/lib/pkgconfig" ) + pkg_check_modules(BREAKPAD REQUIRED IMPORTED_TARGET breakpad-client) endif() # linux system
\ No newline at end of file |