blob: 56e30dc09f404d687fe39701a4bb174cf69862c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
find_package(PkgConfig REQUIRED)
# 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
|