dolphin/Externals/libspng/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
316 B
CMake
Raw Normal View History

2022-07-24 09:55:57 +00:00
cmake_minimum_required(VERSION 3.0)
project(spng C)
add_library(spng STATIC libspng/spng/spng.c)
2022-07-24 09:55:57 +00:00
target_compile_definitions(spng PUBLIC SPNG_STATIC)
target_link_libraries(spng PUBLIC ZLIB::ZLIB)
target_include_directories(spng PUBLIC libspng/spng)
dolphin_disable_warnings(spng)
add_library(spng::spng ALIAS spng)