1
0
Fork 0

Fix build for Mac App Store.

This commit is contained in:
John Preston 2019-11-30 11:14:06 +03:00
parent 60f9cc611a
commit 382380d513
2 changed files with 13 additions and 7 deletions

View file

@ -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()

View file

@ -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