ReFuel.StbImage/CMakeLists.txt
H. Utku Maden bce883028f
All checks were successful
Build / build (push) Successful in 1m39s
Added -static-libstdc++ compile flag.
2024-06-01 11:01:53 +03:00

14 lines
318 B
CMake

cmake_minimum_required(VERSION 3.0)
project(quik_stbi LANGUAGES C VERSION 1.0)
if (NOT ("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin"))
add_compile_options(-static-libgcc -static-libstdc++)
endif()
add_library(stbi SHARED "quik_stbi.c")
install(
TARGETS stbi
RUNTIME DESTINATION .
LIBRARY DESTINATION .)