summary refs log tree commit diff
path: root/cmake
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-03-16 17:56:45 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-03-16 17:56:45 +0200
commit4a6becacca08fbb66d254fdca4870a33013df77a (patch)
tree21ade90977db21099de3a357829afd16f599ea86 /cmake
parentRemove opacity animation from the scrollbar (diff)
downloadnheko-4a6becacca08fbb66d254fdca4870a33013df77a.tar.xz
Add fancy snackbar animation
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Tweeny.cmake25
1 files changed, 25 insertions, 0 deletions
diff --git a/cmake/Tweeny.cmake b/cmake/Tweeny.cmake
new file mode 100644
index 00000000..87a2ade8
--- /dev/null
+++ b/cmake/Tweeny.cmake
@@ -0,0 +1,25 @@
+include(ExternalProject)
+
+#
+# Build tweeny
+#
+
+set(THIRD_PARTY_ROOT ${CMAKE_SOURCE_DIR}/.third-party)
+set(TWEENY_ROOT ${THIRD_PARTY_ROOT}/tweeny)
+
+set(TWEENY_INCLUDE_DIRS ${TWEENY_ROOT}/include)
+
+ExternalProject_Add(
+  Tweeny
+
+  GIT_REPOSITORY https://github.com/mobius3/tweeny
+  GIT_TAG b94ce07cfb02a0eb8ac8aaf66137dabdaea857cf
+
+  BUILD_IN_SOURCE 1
+  SOURCE_DIR ${TWEENY_ROOT}
+  CONFIGURE_COMMAND ""
+  BUILD_COMMAND ""
+  INSTALL_COMMAND ""
+)
+
+include_directories(SYSTEM ${TWEENY_ROOT}/include)