test_pie/external/stb_image/CMakeLists.txt

10 lines
200 B
CMake
Raw Permalink Normal View History

2023-09-14 11:12:02 +02:00
file(GLOB_RECURSE SRCS ./*.cpp)
file(GLOB_RECURSE HDRS ./*.h)
if(UNIX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -Wall -pedantic -ansi")
endif()
add_library(stb_image STATIC ${HDRS} ${SRCS})