DentonW / DevIL

Developer's Image Library (DevIL) is a cross-platform image library utilizing a simple syntax to load, save, convert, manipulate, filter, and display a variety of images with ease. It is highly portable and has been ported to several platforms.
http://openil.sourceforge.net/
GNU Lesser General Public License v2.1
446 stars 138 forks source link

How To Static Library Build #84

Open MMOTutkunlari opened 4 years ago

MMOTutkunlari commented 4 years ago

I compile source files, but lib files are saved as .so. How can I register this as .a

GabrieleGiuseppini commented 3 years ago

Just specify -DBUILD_SHARED_LIBS=OFF on the CMake command line when you configure the build. Note that https://github.com/DentonW/DevIL/issues/95 makes it so that this only applies to IL, not to ILU not ILUT.