Uniformized the way CMake find and link against external libraries

This commit is contained in:
Jonathan De Wachter 2013-12-19 00:59:09 +01:00
parent d40399e431
commit 565bc69a4e
5 changed files with 61 additions and 63 deletions

View file

@ -104,6 +104,7 @@ endif()
# define SFML_OPENGL_ES if needed
if(SFML_OPENGL_ES)
add_definitions(-DSFML_OPENGL_ES)
add_definitions(-DGL_GLEXT_PROTOTYPES)
endif()
# define an option for choosing between static and dynamic C runtime (Windows only)