mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:53:51 +00:00
OS X: looks like OGRE_Plugin_CgProgramManager_FOUND is not reliable
This commit is contained in:
parent
87853f4066
commit
89c60b065c
1 changed files with 3 additions and 1 deletions
|
@ -248,7 +248,9 @@ if (APPLE)
|
||||||
${OGRE_Plugin_OctreeSceneManager_LIBRARY_REL}
|
${OGRE_Plugin_OctreeSceneManager_LIBRARY_REL}
|
||||||
${OGRE_Plugin_ParticleFX_LIBRARY_REL})
|
${OGRE_Plugin_ParticleFX_LIBRARY_REL})
|
||||||
|
|
||||||
if (OGRE_Plugin_CgProgramManager_FOUND)
|
# Actually we must use OGRE_Plugin_CgProgramManager_FOUND but it's
|
||||||
|
# not reliable and equals TRUE even if there's no Ogre Cg plugin
|
||||||
|
if (Cg_FOUND)
|
||||||
set(USED_OGRE_PLUGINS ${USED_OGRE_PLUGINS}
|
set(USED_OGRE_PLUGINS ${USED_OGRE_PLUGINS}
|
||||||
${OGRE_Plugin_CgProgramManager_LIBRARY_REL})
|
${OGRE_Plugin_CgProgramManager_LIBRARY_REL})
|
||||||
endif ()
|
endif ()
|
||||||
|
|
Loading…
Reference in a new issue