Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 9, 2009, 1:10:33 PM (16 years ago)
Author:
rgrieder
Message:
  • Using dependency directory directly in root dir of a branch as primary folder (./libs resp. ./dependencies) Second priority is ../libs for MinGW and ../lib_dist/vc8/dependencies for msvc.
  • Moved compiler and linker flags to ConfigPlatforms.cmake
  • Solved additional libraries for ENet under MinGW directly in FindEnet.cmake
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/cmake/FindENet.cmake

    r2581 r2582  
    4747
    4848# Set optimized and debug libraries
    49 HandleLibraryTypes(ENET ${ENET_ADDITIONAL_LIBRARIES})
     49IF(MINGW)
     50  # ENet is linked statically, hence we need to add some windows dependencies
     51  HandleLibraryTypes(ENET ws2_32 winmm)
     52ELSE(MINGW)
     53  HandleLibraryTypes(ENET)
     54ENDIF(MINGW)
    5055
    5156MARK_AS_ADVANCED(
Note: See TracChangeset for help on using the changeset viewer.