Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 3, 2007, 10:14:04 PM (17 years ago)
Author:
rgrieder
Message:
  • removed the linker flags, since —no-undefined has no influence when building shared libraries (sorry Nico for you efforts) —no-allow-shlib-undefined should exist, but doesn't according to the man page, and it also doesn't work anyway.
  • removed linkage of ENet to the main executable as well (not necessary)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/network/CMakeLists.txt

    r372 r376  
    22
    33SET( NETWORK_SRC_FILES
    4         Client.cc
    5         ClientConnection.cc
    6         ConnectionManager.cc
    7         GameStateManager.cc
    8         PacketBuffer.cc
    9         PacketDecoder.cc
    10         PacketGenerator.cc
    11         Server.cc
    12         Synchronisable.cc
     4  Client.cc
     5  ClientConnection.cc
     6  ConnectionManager.cc
     7  GameStateManager.cc
     8  PacketBuffer.cc
     9  PacketDecoder.cc
     10  PacketGenerator.cc
     11  Server.cc
     12  Synchronisable.cc
    1313)
    1414
    1515ADD_LIBRARY(network SHARED ${NETWORK_SRC_FILES})
    16 TARGET_LINK_LIBRARIES(network ${ENet_LIBRARY} ${Boost_LIBRARIES})
    17 SET_TARGET_PROPERTIES(network PROPERTIES LINK_FLAGS "--no-undefined")
     16TARGET_LINK_LIBRARIES(network ${ENet_LIBRARY} ${Boost_thread_LIBRARIES})
Note: See TracChangeset for help on using the changeset viewer.