Fix for recent merge

pull/638/head
scrawl 10 years ago
parent 1ba3fa4169
commit 4f0387bdb5

@ -25,38 +25,21 @@ IF (WIN32) #Windows
IF(MINGW) IF(MINGW)
FIND_PATH ( MYGUI_INCLUDE_DIRS MyGUI.h PATH_SUFFIXES MYGUI) FIND_PATH ( MYGUI_INCLUDE_DIRS MyGUI.h PATH_SUFFIXES MYGUI)
FIND_PATH ( MYGUI_PLATFORM_INCLUDE_DIRS MyGUI_OgrePlatform.h PATH_SUFFIXES MYGUI)
FIND_LIBRARY ( MYGUI_LIBRARIES_REL NAMES FIND_LIBRARY ( MYGUI_LIBRARIES_REL NAMES
libMyGUIEngine${CMAKE_SHARED_LIBRARY_SUFFIX} libMyGUIEngine${CMAKE_SHARED_LIBRARY_SUFFIX}
libMyGUI.OgrePlatform${CMAKE_STATIC_LIBRARY_SUFFIX}
HINTS HINTS
${MYGUI_LIB_DIR} ${MYGUI_LIB_DIR}
PATH_SUFFIXES "" release relwithdebinfo minsizerel ) PATH_SUFFIXES "" release relwithdebinfo minsizerel )
FIND_LIBRARY ( MYGUI_LIBRARIES_DBG NAMES FIND_LIBRARY ( MYGUI_LIBRARIES_DBG NAMES
libMyGUIEngine_d${CMAKE_SHARED_LIBRARY_SUFFIX} libMyGUIEngine_d${CMAKE_SHARED_LIBRARY_SUFFIX}
libMyGUI.OgrePlatform_d${CMAKE_STATIC_LIBRARY_SUFFIX}
HINTS
${MYGUI_LIB_DIR}
PATH_SUFFIXES "" debug )
FIND_LIBRARY ( MYGUI_PLATFORM_LIBRARIES_REL NAMES
libMyGUI.OgrePlatform${CMAKE_STATIC_LIBRARY_SUFFIX}
HINTS
${MYGUI_LIB_DIR}
PATH_SUFFIXES "" release relwithdebinfo minsizerel )
FIND_LIBRARY ( MYGUI_PLATFORM_LIBRARIES_DBG NAMES
MyGUI.OgrePlatform_d${CMAKE_STATIC_LIBRARY_SUFFIX}
HINTS HINTS
${MYGUI_LIB_DIR} ${MYGUI_LIB_DIR}
PATH_SUFFIXES "" debug ) PATH_SUFFIXES "" debug )
make_library_set ( MYGUI_LIBRARIES ) make_library_set ( MYGUI_LIBRARIES )
make_library_set ( MYGUI_PLATFORM_LIBRARIES )
MESSAGE ("${MYGUI_LIBRARIES}") MESSAGE ("${MYGUI_LIBRARIES}")
MESSAGE ("${MYGUI_PLATFORM_LIBRARIES}")
ENDIF(MINGW) ENDIF(MINGW)
SET(MYGUISDK $ENV{MYGUI_HOME}) SET(MYGUISDK $ENV{MYGUI_HOME})

Loading…
Cancel
Save