Commit Graph

10 Commits (openmw-36)

Author SHA1 Message Date
scrawl 1baf0f7bb2 Add version parsing to FindMyGUI.cmake 10 years ago
slothlife 20dabaead9 Fix CMake scripts to link static dependencies
Added FindDirectX scripts from Ogre so that FindOgre.cmake doesn't
fail silently to find the libraries correctly.

Modified top-level CMakelists.txt:
- Correctly set include dirs, preprocessor definitions, and add
  libraries for static Ogre plugins.
- Correctly set preprocessor definitions for static MyGUI.

Modified launcher, openmw, and opencs to link the static Ogre plugins.

Fixed FindSDL2.cmake to set a variable that contains only the SDL2
library, so that the launcher doesn't incorrectly link against
SDL2main.

Fixed FindMyGUI.cmake to correctly look for static variants.

Fixed FindOgre.cmake to set variables for DirectX plugins correctly.
11 years ago
Michael Mc Donnell 18fd14ff75 Workaround for FindMyGUI.cmake path space bug on Windows.
See bug 353 http://bugs.openmw.org/issues/353
13 years ago
Sylvain THESNIERES 7354d1eccb CMake fixes:
- Fix environment variable in Bullet
- Remove spurious message in MyGUI
13 years ago
Nikolay Kasyanov 677a907528 fixed comment 13 years ago
Nikolay Kasyanov 1b5d327f7e Fixed OS X build with static MyGUI 13 years ago
k1ll f2c4e513a4 Add support for building with a static build of the MyGui Libraries. 13 years ago
Marc Zinnschlag 6c8be7205a build fix 13 years ago
Alexander "Ace" Olofsson 55f1053b4f Windows fixes for compiling and linking 13 years ago
scrawl 3a00fbb950 removed mygui from source tree and use system install instead 13 years ago