crashlib: cmake modify.
This commit is contained in:
@@ -23,6 +23,9 @@ add_library(crashelper STATIC ${CRASHELPER_SOURCES})
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
target_link_libraries(crashelper PUBLIC pthread dl bfd Qt${QT_VERSION_MAJOR}::Core)
|
||||
target_compile_options(crashelper PUBLIC -g)
|
||||
elseif(CMAKE_SYSTEM_NAME STREQUAL "Android")
|
||||
target_link_libraries(crashelper PUBLIC pthread dl bfd Qt${QT_VERSION_MAJOR}::Core)
|
||||
target_compile_options(crashelper PUBLIC -g)
|
||||
elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||
elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||
target_link_libraries(crashelper PRIVATE DbgHelp Qt${QT_VERSION_MAJOR}::Core)
|
||||
|
||||
Reference in New Issue
Block a user