Changeset 11113
- Timestamp:
- Feb 14, 2016, 3:42:37 PM (9 years ago)
- Location:
- code/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/cmake/LibraryConfig.cmake
r11097 r11113 127 127 128 128 IF(WIN32) 129 FIND_PACKAGE(DbgHelp)130 FIND_PACKAGE(DirectX REQUIRED)131 129 IF(MSVC) 132 130 # Check whether we can use Visual Leak Detector 133 131 FIND_PACKAGE(VLD QUIET) 132 FIND_PACKAGE(DbgHelp) 133 FIND_PACKAGE(DirectX REQUIRED) 134 134 ENDIF() 135 135 ENDIF() -
code/trunk/cmake/PackageConfigMinGW.cmake
r9687 r11113 29 29 30 30 INCLUDE(CheckPackageVersion) 31 CHECK_PACKAGE_VERSION( 6.0 7.0)31 CHECK_PACKAGE_VERSION(7.1) 32 32 33 33 # 64 bit system? … … 53 53 SET(ZLIB_LIBRARY ${DEP_BINARY_DIR}/libzlib.dll CACHE FILEPATH "") 54 54 55 # Not included in MinGW, so we need to supply it for OIS 56 SET(WMI_INCLUDE_DIR ${DEP_INCLUDE_DIR}/wmi/include) 57 SET(WMI_LIBRARY ${DEP_LIBRARY_DIR}/wbemuuid.lib) 55 # Define libraries that are part of mingw64: 56 # - DirectX (Needed for OIS): 57 SET(DIRECTX_LIBRARIES dinput8 dxguid) 58 SET(WMI_LIBRARY wbemuuid) 59 # - DbgHelp (Needed for SignalHandler in util library): 60 SET(DBGHELP_FOUND true) 61 SET(DBGHELP_LIBRARY dbghelp) 58 62 59 63 ENDIF(MINGW) -
code/trunk/src/SourceConfig.cmake
r10209 r11113 45 45 # Target Windows XP as minimum Windows version 46 46 # And try to catch all the different macro defines for that... 47 IF(MINGW) 48 ADD_COMPILER_FLAGS("-D_WIN32_WINNT=0x05010000") 49 ADD_COMPILER_FLAGS("-D_WIN32_WINDOWS=0x05010000") 50 ADD_COMPILER_FLAGS("-DWINVER=0x05010000") 51 ADD_COMPILER_FLAGS("-DNTDDI_VERSION=0x05010000") 52 ELSE() 53 ADD_COMPILER_FLAGS("-D_WIN32_WINNT=0x0501") 54 ADD_COMPILER_FLAGS("-D_WIN32_WINDOWS=0x0501") 55 ADD_COMPILER_FLAGS("-DWINVER=0x0501") 56 ADD_COMPILER_FLAGS("-DNTDDI_VERSION=0x05010000") 57 ENDIF() 47 ADD_COMPILER_FLAGS("-D_WIN32_WINNT=0x0501") 48 ADD_COMPILER_FLAGS("-D_WIN32_WINDOWS=0x0501") 49 ADD_COMPILER_FLAGS("-DWINVER=0x0501") 50 ADD_COMPILER_FLAGS("-DNTDDI_VERSION=0x05010000") 58 51 ENDIF(WIN32) 59 52 -
code/trunk/src/external/ois/CMakeLists.txt
r8729 r11113 52 52 ENDIF() 53 53 54 # MinGW doesn't come with some required Windows headers55 IF(MINGW)56 INCLUDE_DIRECTORIES(${WMI_INCLUDE_DIR})57 ENDIF()58 59 54 # Apple has problems with OIS and build units 60 55 IF(APPLE)
Note: See TracChangeset
for help on using the changeset viewer.