diff options
author | Kent Mein <mein@cs.umn.edu> | 2008-01-19 00:39:47 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2008-01-19 00:39:47 +0300 |
commit | 320ac3f0e289b2c4d8add38926913eb2d4809f55 (patch) | |
tree | 07a0aa4716ba36761135b5cc45c635c1b7036aad /CMakeLists.txt | |
parent | 3df9587b40b109b97fd674cc03ab6d1801ae3e24 (diff) |
Fixing makefiles for binreloc I made it use flags like other
things default on for linux. ideasman helped me get scons working.
Cmake still needs some love...
Kent
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0227c51f39d..16818b4a846 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -67,6 +67,7 @@ OPTION(WITH_OPENEXR "Enable OpenEXR Support (http://www.openexr.com)" OFF) OPTION(WITH_FFMPEG "Enable FFMPeg Support (http://ffmpeg.mplayerhq.hu/)" OFF) OPTION(WITH_OPENAL "Enable OpenAL Support (http://www.openal.org)" ON) OPTION(YESIAMSTUPID "Enable execution on 64-bit platforms" OFF) +OPTION(WITH_BINRELOC "Enable binreloc filepath support" OFF) IF(NOT WITH_GAMEENGINE AND WITH_PLAYER) MESSAGE("WARNING: WITH_PLAYER needs WITH_GAMEENGINE") @@ -256,6 +257,9 @@ IF(WIN32) SET(FFMPEG_LIB avcodec-51 avformat-51 avutil-49) SET(FFMPEG_LIBPATH ${FFMPEG}/lib) + SET(BINRELC ${LIBDIR}/binreloc) + SET(BINRELC_INC ${BINRELOC}/include) + SET(LLIBS kernel32 user32 gdi32 comdlg32 advapi32 shell32 ole32 oleaut32 uuid ws2_32 vfw32 winmm) IF(WITH_OPENAL) SET(LLIBS ${LLIBS} dxguid) |