With the following line added after the blender_include_dirs statement,

message("${OPENGL_INCLUDE_DIR}")

CMake printed an empty line, i.e., the content of the variable was an empty 
string.
FYI, the error I got (without double-quotes in the blender_include_dirs 
argument)
was the following:

CMake Error at CMakeLists.txt:948 (blender_include_dirs):
  blender_include_dirs Macro invoked with incorrect arguments for macro
  named: blender_include_dirs

Regards,

-- 
KAJIYAMA, Tamito <[email protected]>


----- Original Message ----- 
From: "GSR" <[email protected]>
To: <[email protected]>
Sent: Sunday, January 02, 2011 9:05 PM
Subject: Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender 
[33962] trunk/blender: CMake: use 
blender_include_dirs("${OPENGL_INCLUDE_DIR}") rather then 
blender_include_dirs(${OPENGL_INCLUDE_DIR})


> Hi,
> [email protected] (2011-01-02 at 2100.53 -0000):
>> The build with VS and CMake goes straight now.  Thanks for the fix!
>> >> blender_include_dirs("${OPENGL_INCLUDE_DIR}")
>
> Out of curiosity about what was causing the problem, could you make it
> print the contents of OPENGL_INCLUDE_DIR? Thanks.
>
> GSR 

_______________________________________________
Bf-committers mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to