danielepanozzo / cg-old

44 stars 16 forks source link

How to modify cmake in order to use SOIL ? #112

Open jw4149 opened 5 years ago

jw4149 commented 5 years ago

I'm trying to modify the cmake file such that I can include the SOIL library, but always fails. Would you please give me some instructions on how I should modify the cmake file such that I can link SOIL ? Also, I'm seeing some exe files in the SOIL folder I downloaded, will this library work on my Mac OS ?

Thank you !!

danielepanozzo commented 5 years ago

Why do you need SOIL? I recommend to use instead the simple library to load PNGs that was provided in the first assignment (and you can download it again from her https://github.com/nothings/stb). This is a single header file, it does not require any change in the cmake.

jw4149 commented 5 years ago

Thank you professor, this library is very easy to use.