Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 14, 2016, 3:42:37 PM (8 years ago)
Author:
landauf
Message:

updated build-script to work with mingw-w64 and the new dependency package

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/cmake/PackageConfigMinGW.cmake

    r9687 r11113  
    2929
    3030  INCLUDE(CheckPackageVersion)
    31   CHECK_PACKAGE_VERSION(6.0 7.0)
     31  CHECK_PACKAGE_VERSION(7.1)
    3232
    3333  # 64 bit system?
     
    5353  SET(ZLIB_LIBRARY ${DEP_BINARY_DIR}/libzlib.dll CACHE FILEPATH "")
    5454
    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)
    5862
    5963ENDIF(MINGW)
Note: See TracChangeset for help on using the changeset viewer.