mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 08:19:56 +00:00
Try hard coding OSX paths.
This commit is contained in:
parent
142a825ad6
commit
5889fd5bd9
1 changed files with 2 additions and 2 deletions
|
@ -356,7 +356,7 @@ set(OGRE_COMPONENT_SEARCH_PATH_DBG
|
|||
|
||||
macro(ogre_find_component COMPONENT HEADER)
|
||||
findpkg_begin(OGRE_${COMPONENT})
|
||||
find_path(OGRE_${COMPONENT}_INCLUDE_DIR NAMES ${HEADER} HINTS ${OGRE_INCLUDE_DIRS} ${OGRE_INCLUDE_DIR}/Ogre${COMPONENT} ${OGRE_PREFIX_SOURCE} PATH_SUFFIXES ${COMPONENT} OGRE/${COMPONENT} Components/${COMPONENT}/include)
|
||||
find_path(OGRE_${COMPONENT}_INCLUDE_DIR NAMES ${HEADER} HINTS ${OGRE_INCLUDE_DIRS} ${OGRE_INCLUDE_DIR}/OGRE/${COMPONENT} ${OGRE_PREFIX_SOURCE} PATH_SUFFIXES ${COMPONENT} OGRE/${COMPONENT} Components/${COMPONENT}/include)
|
||||
set(OGRE_${COMPONENT}_LIBRARY_NAMES "Ogre${COMPONENT}${OGRE_LIB_SUFFIX}")
|
||||
get_debug_names(OGRE_${COMPONENT}_LIBRARY_NAMES)
|
||||
find_library(OGRE_${COMPONENT}_LIBRARY_REL NAMES ${OGRE_${COMPONENT}_LIBRARY_NAMES} HINTS ${OGRE_LIBRARY_DIR_REL} PATH_SUFFIXES "" "release" "relwithdebinfo" "minsizerel")
|
||||
|
@ -365,7 +365,7 @@ macro(ogre_find_component COMPONENT HEADER)
|
|||
findpkg_finish(OGRE_${COMPONENT})
|
||||
if (OGRE_${COMPONENT}_FOUND)
|
||||
if (APPLE)
|
||||
include_directories("${OGRE_INCLUDE_DIR}/${COMPONENT}")
|
||||
include_directories("${OGRE_INCLUDE_DIR}/OGRE/${COMPONENT}")
|
||||
endif()
|
||||
# find binaries
|
||||
if (NOT OGRE_STATIC)
|
||||
|
|
Loading…
Reference in a new issue