tomato/external/qoi/CMakeLists.txt

12 lines
296 B
CMake
Raw Normal View History

2024-03-04 12:38:39 +01:00
cmake_minimum_required(VERSION 3.13...3.24 FATAL_ERROR)
project(qoi C CXX)
2024-03-04 12:41:12 +01:00
add_library(qoi_interface INTERFACE)
target_include_directories(qoi_interface SYSTEM INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}")
2024-03-04 12:38:39 +01:00
# static lib with impl
add_library(qoi "qoi.cpp")
2024-03-04 12:41:12 +01:00
target_link_libraries(qoi qoi_interface)
2024-03-04 12:38:39 +01:00