Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9673 for code/trunk


Ignore:
Timestamp:
Sep 25, 2013, 10:52:39 PM (11 years ago)
Author:
landauf
Message:

moved workaround for old boost versions to LibraryConfigTardis.cmake - I hope all normal distributions have newer versions of boost and the workaround causes trouble on windows with MinGW

Location:
code/trunk/cmake
Files:
2 edited

Legend:

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

    r9672 r9673  
    124124  ADD_LINKER_FLAGS("-enable-auto-import" CACHE)
    125125ENDIF()
    126 
    127 
    128 # Sandro fix: add flag that re-enables boost threads. This makes the combination
    129 #             of GCC version > 4.7 and older libboost work. See
    130 # http://stackoverflow.com/questions/5389853/doesnt-compile-if-included-boost-thread-in-linux-ubuntu10-10
    131 #             for more information.
    132 ADD_COMPILER_FLAGS("-D_GLIBCXX__PTHREADS=1" CXX CACHE)
  • code/trunk/cmake/LibraryConfigTardis.cmake

    r8876 r9673  
    7979  #SET(ENV{OPENALDIR}   "/usr/pack/openal-0.0.8-cl;/usr/pack/openal-0.0.8-cl/i686-debian-linux3.1")
    8080  #SET(TCL_INCLUDE_PATH "/usr/pack/tcltk-8.4.9.linux-mo/include")
     81
     82
     83  # Sandro fix: add flag that re-enables boost threads. This makes the combination
     84  #             of GCC version > 4.7 and older libboost work. See
     85  # http://stackoverflow.com/questions/5389853/doesnt-compile-if-included-boost-thread-in-linux-ubuntu10-10
     86  #             for more information.
     87  ADD_COMPILER_FLAGS("-D_GLIBCXX__PTHREADS=1" CXX CACHE)
    8188ENDIF(TARDIS)
Note: See TracChangeset for help on using the changeset viewer.