test_pie/external/stb_image/CMakeLists.txt

10 lines
200 B
CMake

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})