Irrespective of "FREEGLUT_REPLACE_GLUT" being set to "No" or being on
Win32 where this variable does not even exist, the .pc file contained
Libs: -L${libdir} -lglut
Instead, emit the correct value.
(cherry picked from commit d06589f55c87370d388dec333f4bff35c29762f3)
(cherry picked from commit d06589f55c87370d388dec333f4bff35c29762f3)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1781 7f0cb862-5218-0410-a997-914c9d46530a
Irrespective of "FREEGLUT_REPLACE_GLUT" being set to "No" or being on
Win32 where this variable does not even exist, the .pc file contained
Libs: -L${libdir} -lglut
Instead, emit the correct value.
Following https://github.com/dcnieho/FreeGLUT/issues/38 ;
mention Wayland support in README, Wayland build
instructions and requirements in README.cmake.
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
(cherry picked from commit 18773bcc818714436e3aeb6229b2f84125d6edc4)
(cherry picked from commit 18773bcc818714436e3aeb6229b2f84125d6edc4)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1780 7f0cb862-5218-0410-a997-914c9d46530a
- Known to only affect Visual Studio 2010. Visual Studio 2013 and up may have relaxed the error.
(cherry picked from commit 6b8552edbd715eb77921038c85dda46f90038154)
(cherry picked from commit 6b8552edbd715eb77921038c85dda46f90038154)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1779 7f0cb862-5218-0410-a997-914c9d46530a
Added check for if fgCreateWindow cannot allocate a window, it will produce an error.
(cherry picked from commit 0ed05f64589fbcc67f225e1dc3ef6f5181fd319f)
(cherry picked from commit 0ed05f64589fbcc67f225e1dc3ef6f5181fd319f)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1776 7f0cb862-5218-0410-a997-914c9d46530a
Following https://github.com/dcnieho/FreeGLUT/issues/38 ;
mention Wayland support in README, Wayland build
instructions and requirements in README.cmake.
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Use target_compile_definitions to populate the
INTERFACE_COMPILE_DEFINITIONS property on the freeglut_static target on
windows.
(cherry picked from commit ffc24cfb7607739e49cd2730e44301ef4f3072ae)
(cherry picked from commit ffc24cfb7607739e49cd2730e44301ef4f3072ae)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1772 7f0cb862-5218-0410-a997-914c9d46530a
As with pkg-config, the cmake package now sets "-DFREEGLUT_GLES" when
appropriate.
(cherry picked from commit 792d805542a9a96053e1fb3e49f9518ee462d9b0)
(cherry picked from commit 792d805542a9a96053e1fb3e49f9518ee462d9b0)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1771 7f0cb862-5218-0410-a997-914c9d46530a
Create and install the necessary files so that cmake can find FreeGLUT
in config mode ("find_package(FreeGLUT CONFIG)").
This pushes cmake_minimum_required to 3.0.0.
(cherry picked from commit ba7326ce8db20dd52785ef1a08da06d8341fc4c1)
(cherry picked from commit ba7326ce8db20dd52785ef1a08da06d8341fc4c1)
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1770 7f0cb862-5218-0410-a997-914c9d46530a
Create and install the necessary files so that cmake can find FreeGLUT
in config mode ("find_package(FreeGLUT CONFIG)").
This pushes cmake_minimum_required to 3.0.0.