cmake_minimum_required(VERSION 3.0) project(quik_stbi LANGUAGES C VERSION 1.0) add_compile_options(-static-libgcc) add_library(stbi SHARED "quik_stbi.c") target_include_directories(stbi PRIVATE "../lib") install( TARGETS stbi RUNTIME DESTINATION . LIBRARY DESTINATION .)