Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7955


Ignore:
Timestamp:
Feb 24, 2011, 7:36:44 AM (13 years ago)
Author:
rgrieder
Message:

No auto-linking for POCO too.
Fixed build by explicitly linking against PCOO with OGRE together.

Location:
code/trunk
Files:
2 edited

Legend:

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

    r7459 r7955  
    101101IF(POCO_REQUIRED)
    102102  FIND_PACKAGE(POCO          REQUIRED)
     103  # Always link against POCO too because of threading
     104  SET(OGRE_LIBRARY ${OGRE_LIBRARY} ${POCO_LIBRARY})
    103105ENDIF()
    104106IF(WIN32)
  • code/trunk/src/CMakeLists.txt

    r7819 r7955  
    3333####### Library Behaviour (dependencies) ########
    3434
    35 # Disable Boost auto linking completely
     35# Disable auto linking completely for Boost and POCO
    3636ADD_COMPILER_FLAGS("-DBOOST_ALL_NO_LIB")
     37ADD_COMPILER_FLAGS("-DPOCO_NO_AUTOMATIC_LIBS")
    3738
    3839# If no defines are specified, these libs get linked statically
Note: See TracChangeset for help on using the changeset viewer.