Mercurial > sumwars
changeset 2675:03eeefbd2ce1 gussoundtest
fixes #72: added hints to the cmake Ogre scripts to automatically find the plugins dir
author | Stefan Stammberger <fusion44> |
---|---|
date | Fri, 14 Mar 2014 18:33:11 +0100 |
parents | 7d5b10cab374 |
children | b03bf56638a5 |
files | CMakeModules/FindOGRE.cmake |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/CMakeModules/FindOGRE.cmake Thu Mar 13 20:49:45 2014 +0100 +++ b/CMakeModules/FindOGRE.cmake Fri Mar 14 18:33:11 2014 +0100 @@ -444,9 +444,9 @@ get_debug_names(OGRE_${PLUGIN}_LIBRARY_NAMES) set(OGRE_${PLUGIN}_LIBRARY_FWK ${OGRE_LIBRARY_FWK}) find_library(OGRE_${PLUGIN}_LIBRARY_REL NAMES ${OGRE_${PLUGIN}_LIBRARY_NAMES} - HINTS "${OGRE_BUILD}/lib" ${OGRE_LIBRARY_DIRS} PATH_SUFFIXES "" OGRE opt Release Release/opt RelWithDebInfo RelWithDebInfo/opt MinSizeRel MinSizeRel/opt) + HINTS "${OGRE_BUILD}/lib" ${OGRE_LIBRARY_DIRS} PATH_SUFFIXES "" OGRE opt Release Release/opt RelWithDebInfo RelWithDebInfo/opt MinSizeRel MinSizeRel/opt OGRE-${OGRE_VERSION}) find_library(OGRE_${PLUGIN}_LIBRARY_DBG NAMES ${OGRE_${PLUGIN}_LIBRARY_NAMES_DBG} - HINTS "${OGRE_BUILD}/lib" ${OGRE_LIBRARY_DIRS} PATH_SUFFIXES "" OGRE opt Debug Debug/opt) + HINTS "${OGRE_BUILD}/lib" ${OGRE_LIBRARY_DIRS} PATH_SUFFIXES "" OGRE opt Debug Debug/opt OGRE-${OGRE_VERSION}) make_library_set(OGRE_${PLUGIN}_LIBRARY) if (OGRE_${PLUGIN}_LIBRARY OR OGRE_${PLUGIN}_INCLUDE_DIR)