diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index d202efe2..59914aba 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -17,4 +17,5 @@ add_subdirectory(./imgui) add_subdirectory(./stb) add_subdirectory(./libwebp) +add_subdirectory(./qoi) diff --git a/external/qoi/CMakeLists.txt b/external/qoi/CMakeLists.txt new file mode 100644 index 00000000..e5bcdb7b --- /dev/null +++ b/external/qoi/CMakeLists.txt @@ -0,0 +1,13 @@ +cmake_minimum_required(VERSION 3.13...3.24 FATAL_ERROR) + +project(qoi C CXX) + +# do fetch or subtree + +#add_library(stb INTERFACE) +#target_include_directories(stb SYSTEM INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}") + +# static lib with impl +add_library(qoi "qoi.cpp") +#target_link_libraries(qoi stb) + diff --git a/external/qoi/qoi.cpp b/external/qoi/qoi.cpp new file mode 100644 index 00000000..4be5b34b --- /dev/null +++ b/external/qoi/qoi.cpp @@ -0,0 +1 @@ +// TODO: include and impl