Fix build for Mac App Store.
This commit is contained in:
parent
60f9cc611a
commit
382380d513
2 changed files with 13 additions and 7 deletions
14
external/crash_reports/breakpad/CMakeLists.txt
vendored
14
external/crash_reports/breakpad/CMakeLists.txt
vendored
|
|
@ -14,9 +14,11 @@ INTERFACE
|
|||
|
||||
set(breakpad_lib_loc ${libs_loc}/breakpad/src/out/$<IF:$<CONFIG:Debug>,Debug,Release>/obj/client)
|
||||
|
||||
target_link_libraries(external_breakpad
|
||||
INTERFACE
|
||||
${breakpad_lib_loc}/windows/common.lib
|
||||
${breakpad_lib_loc}/windows/handler/exception_handler.lib
|
||||
${breakpad_lib_loc}/windows/crash_generation/crash_generation_client.lib
|
||||
)
|
||||
if (WIN32)
|
||||
target_link_libraries(external_breakpad
|
||||
INTERFACE
|
||||
${breakpad_lib_loc}/windows/common.lib
|
||||
${breakpad_lib_loc}/windows/handler/exception_handler.lib
|
||||
${breakpad_lib_loc}/windows/crash_generation/crash_generation_client.lib
|
||||
)
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -8,7 +8,11 @@ if (build_osx)
|
|||
target_compile_definitions(common_options INTERFACE OS_OSX)
|
||||
else()
|
||||
if (build_macstore)
|
||||
target_compile_definitions(common_options INTERFACE OS_MAC_STORE)
|
||||
target_compile_definitions(common_options
|
||||
INTERFACE
|
||||
OS_MAC_STORE
|
||||
MAC_USE_BREAKPAD
|
||||
)
|
||||
endif()
|
||||
target_include_directories(common_options
|
||||
INTERFACE
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue