What steps will reproduce the problem?
Build on Windows with cmake, e.g.,
mkdir build-msvc
cd build-msvc
cmake .. -G "Visual Studio 10 Win64"
What is the expected output? What do you see instead?
Fails to find includes for GLUT and GLEW
What version of the product are you using? On what operating system?
rev226, Windows 7, 64-bit
Please provide any additional information below.
There's a mismatch between the "DIR" variable names and "DIRS", and
FREETYPE_INCLUDE_DIRS is omitted. They need to match the vars used in the
INCLUDE_DIRECTORIES command (line 75). A simple patch that fixes the problem:
Index: CMakeLists.txt
===================================================================
44c46
< SET( GLUT_INCLUDE_DIR
---
> SET( GLUT_INCLUDE_DIRS
48c50
< SET( GLEW_INCLUDE_DIR
---
> SET( GLEW_INCLUDE_DIRS
55a58
> SET( FREETYPE_INCLUDE_DIRS ${FREETYPE_INCLUDE_DIR_ft2build}
${FREETYPE_INCLUDE_DIR_freetype2} )
Original issue reported on code.google.com by brian.fo...@gmail.com on 19 Jul 2013 at 3:41
Original issue reported on code.google.com by
brian.fo...@gmail.com
on 19 Jul 2013 at 3:41