mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
11 lines
321 B
CMake
11 lines
321 B
CMake
cmake_minimum_required(VERSION 3.0)
|
|
|
|
project(spng C)
|
|
|
|
add_library(spng STATIC libspng/spng/spng.c)
|
|
target_compile_definitions(spng PUBLIC SPNG_STATIC)
|
|
target_link_libraries(spng PUBLIC ZLIB::ZLIB)
|
|
target_include_directories(spng PUBLIC libspng/spng)
|
|
dolphin_disable_warnings_msvc(spng)
|
|
add_library(spng::spng ALIAS spng)
|