mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:23:52 +00:00
OS X: consider Ogre CG plugin as used only if it’s found
This commit is contained in:
parent
99cfb8cda2
commit
87853f4066
1 changed files with 5 additions and 1 deletions
|
@ -246,9 +246,13 @@ if (APPLE)
|
||||||
# List used Ogre plugins
|
# List used Ogre plugins
|
||||||
SET(USED_OGRE_PLUGINS ${OGRE_RenderSystem_GL_LIBRARY_REL}
|
SET(USED_OGRE_PLUGINS ${OGRE_RenderSystem_GL_LIBRARY_REL}
|
||||||
${OGRE_Plugin_OctreeSceneManager_LIBRARY_REL}
|
${OGRE_Plugin_OctreeSceneManager_LIBRARY_REL}
|
||||||
${OGRE_Plugin_CgProgramManager_LIBRARY_REL}
|
|
||||||
${OGRE_Plugin_ParticleFX_LIBRARY_REL})
|
${OGRE_Plugin_ParticleFX_LIBRARY_REL})
|
||||||
|
|
||||||
|
if (OGRE_Plugin_CgProgramManager_FOUND)
|
||||||
|
set(USED_OGRE_PLUGINS ${USED_OGRE_PLUGINS}
|
||||||
|
${OGRE_Plugin_CgProgramManager_LIBRARY_REL})
|
||||||
|
endif ()
|
||||||
|
|
||||||
if (${OGRE_PLUGIN_DIR_REL}})
|
if (${OGRE_PLUGIN_DIR_REL}})
|
||||||
set(OGRE_PLUGINS_REL_FOUND TRUE)
|
set(OGRE_PLUGINS_REL_FOUND TRUE)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
Loading…
Reference in a new issue