forked from mirror/openmw-tes3mp
Workaround for FindMyGUI.cmake path space bug on Windows.
See bug 353 http://bugs.openmw.org/issues/353
This commit is contained in:
parent
f6d657a5f4
commit
18fd14ff75
1 changed files with 5 additions and 3 deletions
|
@ -128,9 +128,11 @@ ELSE (WIN32) #Unix
|
|||
ENDIF (WIN32)
|
||||
|
||||
#Do some preparation
|
||||
SEPARATE_ARGUMENTS(MYGUI_INCLUDE_DIRS)
|
||||
SEPARATE_ARGUMENTS(MYGUI_LIBRARIES)
|
||||
SEPARATE_ARGUMENTS(MYGUI_PLATFORM_LIBRARIES)
|
||||
IF (NOT WIN32) # This does not work on Windows for paths with spaces in them
|
||||
SEPARATE_ARGUMENTS(MYGUI_INCLUDE_DIRS)
|
||||
SEPARATE_ARGUMENTS(MYGUI_LIBRARIES)
|
||||
SEPARATE_ARGUMENTS(MYGUI_PLATFORM_LIBRARIES)
|
||||
ENDIF (NOT WIN32)
|
||||
|
||||
SET(MYGUI_LIBRARIES ${MYGUI_LIBRARIES} ${FREETYPE_LIBRARIES})
|
||||
|
||||
|
|
Loading…
Reference in a new issue