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