mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-10-03 16:51:30 +00:00
See: https://github.com/HSAnet/qt-google-analytics Sadly, the API and its internals are not acceptable and it needs changes upstream likely wouldn't allow.
11 lines
328 B
CMake
11 lines
328 B
CMake
project(ganalytics)
|
|
|
|
find_package(Qt5Core)
|
|
find_package(Qt5Gui)
|
|
find_package(Qt5Network)
|
|
|
|
add_library(ganalytics STATIC ganalytics.cpp ganalytics.h)
|
|
qt5_use_modules(ganalytics Core Gui Network)
|
|
target_include_directories(ganalytics PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
|
target_compile_definitions(ganalytics PRIVATE -DQT_GUI_LIB)
|