Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 27, 2011, 2:34:12 AM (14 years ago)
Author:
rgrieder
Message:

Added new library linking keywords for the Add Target Command.
That makes OS specific library linking less tedious to read.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/kicklib2/src/external/enet/CMakeLists.txt

    r8339 r8341  
    4444ADD_COMPILER_FLAGS("-DHAS_POLL -DHAS_FCNTL -DHAS_MSGHDR_FLAGS -DHAS_SOCKLEN_T")
    4545
    46 IF(WIN32)
    47     SET(ENET_WIN_LIBS odbc32 odbccp32 winmm ws2_32)
    48 ENDIF()
    49 
    5046ORXONOX_ADD_LIBRARY(enet_orxonox
    5147    ORXONOX_EXTERNAL
    52     VERSION        1.3.0
    53     DEFINE_SYMBOL  "ENET_BUILDING_LIB"
    54     LINK_LIBRARIES ${ENET_WIN_LIBS}
    55     SOURCE_FILES   ${ENET_FILES}
     48    VERSION         1.3.0
     49    DEFINE_SYMBOL   "ENET_BUILDING_LIB"
     50    LINK_LIBS_WIN32 odbc32 odbccp32 winmm ws2_32
     51    SOURCE_FILES    ${ENET_FILES}
    5652)
Note: See TracChangeset for help on using the changeset viewer.