Added FREEGLUT_REPLACE_GLUT configure option for MS Windows.
authorBoris Pek <tehnick-8@yandex.ru>
Sat, 22 Apr 2017 20:05:01 +0000 (20:05 +0000)
committerDiederick Niehorster <dcnieho@gmail.com>
Sat, 22 Apr 2017 20:05:01 +0000 (20:05 +0000)
commit7ff5f34c5ec3b44e3bc6a022122fc101ed8f584f
tree1051d6ff55bce8ec92ed4894f42bba5bd83d6c15
parent450dfa5a91a65503af8883102272dc95ee8e4d6a
Added FREEGLUT_REPLACE_GLUT configure option for MS Windows.

It provides back compatibility with older (autotools based) freeglut versions.
Also it simplifies build rules for crossplatform programs: they may be linked
with -lglut regardless of the system and library type (shared/static).

Patch is originally prepared for MXE project (http://mxe.cc/).

(cherry picked from commit cd9ac605ec4615569121e0e9b6bc058684bebfe3)

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1793 7f0cb862-5218-0410-a997-914c9d46530a
CMakeLists.txt