2018-06-06 12:56:42 +00:00
|
|
|
if (STACKTRACE)
|
2019-06-21 12:35:19 +00:00
|
|
|
if (NOT "${WINXXBITS}" STREQUAL "Win64")
|
2015-11-06 18:03:18 +00:00
|
|
|
add_compile_options(-fno-omit-frame-pointer)
|
2019-06-21 12:35:19 +00:00
|
|
|
endif (NOT "${WINXXBITS}" STREQUAL "Win64")
|
2019-07-20 16:43:08 +00:00
|
|
|
link_libraries(dbghelp -Wl,--export-all-symbols)
|
2018-06-06 12:56:42 +00:00
|
|
|
endif (STACKTRACE)
|
2015-11-06 18:03:18 +00:00
|
|
|
|
|
|
|
if (("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") OR ("${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo"))
|
|
|
|
link_libraries(-Wl,--dynamicbase)
|
2019-07-20 16:43:08 +00:00
|
|
|
endif ()
|
2015-11-06 18:03:18 +00:00
|
|
|
|
2019-07-20 16:43:08 +00:00
|
|
|
list(APPEND LibtorrentRasterbar_CUSTOM_DEFINITIONS
|
|
|
|
-D__USE_W32_SOCKETS
|
|
|
|
-D_FILE_OFFSET_BITS=64)
|
|
|
|
|
|
|
|
link_libraries(advapi32 shell32 user32 wsock32 ws2_32 powrprof)
|