Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9672 for code/trunk/cmake


Ignore:
Timestamp:
Sep 17, 2013, 1:40:31 PM (11 years ago)
Author:
smerkli
Message:

Added a few includes that were necessary with the switch to GCC > 4.7
as well as a small define that lets boost work with threads on this
new GCC version. Things compile now, but have not been tested to be running
yet.

File:
1 edited

Legend:

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

    r8729 r9672  
    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.
     132ADD_COMPILER_FLAGS("-D_GLIBCXX__PTHREADS=1" CXX CACHE)
Note: See TracChangeset for help on using the changeset viewer.