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)
|
set(breakpad_lib_loc ${libs_loc}/breakpad/src/out/$<IF:$<CONFIG:Debug>,Debug,Release>/obj/client)
|
||||||
|
|
||||||
target_link_libraries(external_breakpad
|
if (WIN32)
|
||||||
INTERFACE
|
target_link_libraries(external_breakpad
|
||||||
${breakpad_lib_loc}/windows/common.lib
|
INTERFACE
|
||||||
${breakpad_lib_loc}/windows/handler/exception_handler.lib
|
${breakpad_lib_loc}/windows/common.lib
|
||||||
${breakpad_lib_loc}/windows/crash_generation/crash_generation_client.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)
|
target_compile_definitions(common_options INTERFACE OS_OSX)
|
||||||
else()
|
else()
|
||||||
if (build_macstore)
|
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()
|
endif()
|
||||||
target_include_directories(common_options
|
target_include_directories(common_options
|
||||||
INTERFACE
|
INTERFACE
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue