Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 29, 2015, 10:29:56 AM (9 years ago)
Author:
muemart
Message:

Some small fixes for the MSVC build

  • Don't hardcode library names. It's more trouble than it's worth.
  • Add debug library names for CEBUI 0.8.x
  • Prevent double definitions of winsock stuff
File:
1 edited

Legend:

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

    r8361 r10208  
    5454  # Sets the library path for the FIND_LIBRARY
    5555  SET(CMAKE_LIBRARY_PATH ${DEP_LIBRARY_DIR})
    56 
    57   # Certain find scripts don't behave as ecpected to we have
    58   # to specify the libraries ourselves.
    59   IF(MSVC10)
    60     SET(TCL_LIBRARY
    61       optimized ${DEP_LIBRARY_DIR}/tcl85t.lib
    62       debug     ${DEP_LIBRARY_DIR}/tcl85tg.lib
    63       CACHE FILEPATH ""
    64     )
    65     SET(ZLIB_LIBRARY
    66       optimized ${DEP_LIBRARY_DIR}/zlib-vc100.lib
    67       debug     ${DEP_LIBRARY_DIR}/zlib-vc100_d.lib
    68       CACHE FILEPATH ""
    69     )
    70   ELSE()
    71     SET(TCL_LIBRARY  ${DEP_LIBRARY_DIR}/tcl85.lib CACHE FILEPATH "")
    72     SET(ZLIB_LIBRARY ${DEP_LIBRARY_DIR}/zdll.lib  CACHE FILEPATH "")
    73   ENDIF()
     56 
    7457  # Part of Platform SDK and usually gets linked automatically
    7558  SET(WMI_LIBRARY  wbemuuid.lib)
Note: See TracChangeset for help on using the changeset viewer.