qBittorrent/cmake/Modules/winconf-mingw.cmake
Eugene Shalygin bdac8f8db8
Fix option name in winconf-xxx.cmake
The mistake was made by commit 7712d0ada0d09dca15cbb39705a34284858b05aa
2018-08-12 11:08:06 +03:00

15 lines
524 B
CMake

if (STACKTRACE)
if ("${WINXXBITS}" NOT STREQUAL "Win64")
add_compile_options(-fno-omit-frame-pointer)
endif ("${WINXXBITS}" NOT STREQUAL "Win64")
link_libraries(libdbghelp -Wl,--export-all-symbols)
endif (STACKTRACE)
if (("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") OR ("${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo"))
link_libraries(-Wl,--dynamicbase)
endif()
# LIBS += libadvapi32 libshell32 libuser32
# LIBS += libcrypto.dll libssl.dll libwsock32 libws2_32 libz libiconv.dll
# LIBS += libpowrprof