From 1b4072dd0cdc5d6f7f1c4a4829c21c9a3bd202ed Mon Sep 17 00:00:00 2001 From: subhransu mohanty Date: Thu, 9 May 2019 15:28:54 +0900 Subject: [PATCH] added missing cmake file --- example/CMakeLists.txt | 11 +++++++++++ example/lottie2gif.cpp | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 example/CMakeLists.txt diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt new file mode 100644 index 0000000000..9c0f4273f4 --- /dev/null +++ b/example/CMakeLists.txt @@ -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/") diff --git a/example/lottie2gif.cpp b/example/lottie2gif.cpp index 0fac9eb053..3e2e91abe7 100644 --- a/example/lottie2gif.cpp +++ b/example/lottie2gif.cpp @@ -1,5 +1,5 @@ #include "gif.h" -#include "rlottie.h" +#include #include #include