added option to have all supported image formats
This commit is contained in:
parent
c5b048c7d2
commit
85c1bab409
|
@ -33,7 +33,7 @@ set(SOURCES
|
|||
|
||||
# Target name is "cSDL_image", output file is "libcSDL_image.a" (by default)
|
||||
add_library(cSDL_image STATIC ${SOURCES})
|
||||
target_compile_options(cSDL_image PRIVATE -Os -std=c11)
|
||||
target_compile_options(cSDL_image PRIVATE -Os -std=c11 -DLOAD_GIF -DLOAD_LBM -DLOAD_PCX -DLOAD_PNM -DLOAD_TGA -DLOAD_XCF -DLOAD_BMP -DLOAD_PNG)
|
||||
|
||||
# After building, install the target (that is, cSDL_image.a) in the compiler
|
||||
install(TARGETS cSDL_image
|
||||
|
|
Loading…
Reference in New Issue