summaryrefslogtreecommitdiffstats
path: root/libraries/ganalytics/CMakeLists.txt
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-11-20 12:04:29 +0100
committerPetr Mrázek <peterix@gmail.com>2016-11-20 12:04:29 +0100
commit2ec15c32e4419c94995f78b1d1ef8790e71b3317 (patch)
tree986f1212e9fa3156a532e912736338edf69964a7 /libraries/ganalytics/CMakeLists.txt
parent69be23c5f629884465dec98efcb9d5a2678b4df5 (diff)
downloadMultiMC-2ec15c32e4419c94995f78b1d1ef8790e71b3317.tar
MultiMC-2ec15c32e4419c94995f78b1d1ef8790e71b3317.tar.gz
MultiMC-2ec15c32e4419c94995f78b1d1ef8790e71b3317.tar.lz
MultiMC-2ec15c32e4419c94995f78b1d1ef8790e71b3317.tar.xz
MultiMC-2ec15c32e4419c94995f78b1d1ef8790e71b3317.zip
NOISSUE import google analytics from third party
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.
Diffstat (limited to 'libraries/ganalytics/CMakeLists.txt')
-rw-r--r--libraries/ganalytics/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/libraries/ganalytics/CMakeLists.txt b/libraries/ganalytics/CMakeLists.txt
new file mode 100644
index 00000000..f6051d05
--- /dev/null
+++ b/libraries/ganalytics/CMakeLists.txt
@@ -0,0 +1,10 @@
+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)