mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-28 21:38:51 +03:00
Fix CMake Windows compilation
This commit is contained in:
parent
183db3475a
commit
ece70daaa5
3 changed files with 3 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
if (STACKTRACE)
|
if (STACKTRACE)
|
||||||
if ("${WINXXBITS}" NOT STREQUAL "Win64")
|
if (NOT "${WINXXBITS}" STREQUAL "Win64")
|
||||||
add_compile_options(-fno-omit-frame-pointer)
|
add_compile_options(-fno-omit-frame-pointer)
|
||||||
endif ("${WINXXBITS}" NOT STREQUAL "Win64")
|
endif (NOT "${WINXXBITS}" STREQUAL "Win64")
|
||||||
link_libraries(libdbghelp -Wl,--export-all-symbols)
|
link_libraries(libdbghelp -Wl,--export-all-symbols)
|
||||||
endif (STACKTRACE)
|
endif (STACKTRACE)
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,6 @@ list(APPEND CMAKE_LIBRARY_PATH "$ENV{LIB}")
|
||||||
set(LibtorrentRasterbar_USE_STATIC_LIBS True)
|
set(LibtorrentRasterbar_USE_STATIC_LIBS True)
|
||||||
set(LibtorrentRasterbar_CUSTOM_DEFINITIONS
|
set(LibtorrentRasterbar_CUSTOM_DEFINITIONS
|
||||||
-DBOOST_ALL_NO_LIB -DBOOST_ASIO_HASH_MAP_BUCKETS=1021
|
-DBOOST_ALL_NO_LIB -DBOOST_ASIO_HASH_MAP_BUCKETS=1021
|
||||||
-DBOOST_ASIO_SEPARATE_COMPILATION
|
|
||||||
-DBOOST_EXCEPTION_DISABLE
|
-DBOOST_EXCEPTION_DISABLE
|
||||||
-DBOOST_SYSTEM_STATIC_LINK=1
|
-DBOOST_SYSTEM_STATIC_LINK=1
|
||||||
-DTORRENT_USE_OPENSSL
|
-DTORRENT_USE_OPENSSL
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class QString;
|
#include <QString>
|
||||||
|
|
||||||
enum class ShutdownDialogAction;
|
enum class ShutdownDialogAction;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue