KenzieMac130 / ogre-procedural

Automatically exported from code.google.com/p/ogre-procedural
0 stars 0 forks source link

Bad cmake PATH_SUFFIXES on FindOgreProcedural.cmake on linux #141

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to link to OgreProcedural under linux using FindOgreProcedural.cmake

What is the expected output? What do you see instead?
OgreProcedural_INCLUDE_DIR should be filled. Instead it doesn't find the 
directory.

Linux has case-sensitive paths, and using "PATH_SUFFIXES" as "OGREPROCEDURAL" 
instead of "OgreProcedural" (as installed by "make install") when trying to 
find Procedural.h will fail.

The fix is as easy as replacing "OGREPROCEDURAL" by "OgreProcedural" on 
FindOgreProcedural.cmake (line 44).

Original issue reported on code.google.com by kam1k...@gmail.com on 8 Jul 2013 at 4:51

GoogleCodeExporter commented 8 years ago
Done

Original comment by michael.broutin@gmail.com on 10 Jul 2013 at 8:58