Improve CMake configuration

Don't search for QtSingleApplication library.
Fix building on Windows with MinGW.
This commit is contained in:
Vladimir Golovnev (Glassez)
2019-07-20 19:43:08 +03:00
parent e53d4e5ff7
commit 38cf1fb3ee
6 changed files with 36 additions and 115 deletions

View File

@@ -46,7 +46,7 @@ else()
if(NOT LibtorrentRasterbar_USE_STATIC_LIBS)
list(APPEND LibtorrentRasterbar_DEFINITIONS
-DTORRENT_LINKING_SHARED
-DBOOST_SYSTEM_DYN_LINK -DBOOST_CHRONO_DYN_LINK)
-DBOOST_SYSTEM_DYN_LINK)
endif()
endif()