added missing cmake file
authorsubhransu mohanty <sub.mohanty@samsung.com>
Thu, 9 May 2019 06:28:54 +0000 (15:28 +0900)
committerHermet Park <hermetpark@gmail.com>
Mon, 13 May 2019 08:14:12 +0000 (17:14 +0900)
example/CMakeLists.txt [new file with mode: 0644]
example/lottie2gif.cpp

diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt
new file mode 100644 (file)
index 0000000..9c0f427
--- /dev/null
@@ -0,0 +1,11 @@
+add_executable(lottie-gif "lottie2gif.cpp")
+
+target_compile_options(lottie-gif
+                       PRIVATE
+                       -std=c++11)
+
+target_link_libraries(lottie-gif rlottie)
+
+target_include_directories(lottie-gif
+                           PRIVATE
+                           "${CMAKE_CURRENT_LIST_DIR}/../inc/")
index 0fac9eb..3e2e91a 100644 (file)
@@ -1,5 +1,5 @@
 #include "gif.h"
-#include "rlottie.h"
+#include <rlottie.h>
 
 #include<iostream>
 #include<vector>