Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 22, 2011, 6:23:45 PM (13 years ago)
Author:
rgrieder
Message:

Fixed build for MSVC 10: disabling the C++0x features seems a bad idea because some boost code relies on it for the new Visual Studio version.
Leaving it enabled breaks cpptcl though —> fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/kicklib2/cmake/CompilerConfigMSVC.cmake

    r8285 r8298  
    6868# Note: It hasn't been checked yet whether we have code that might break
    6969#ADD_COMPILER_FLAGS("-fp:fast" CACHE)
    70 
    71 # Newer MSVC versions come with std::shared_ptr which conflicts with
    72 # boost::shared_ptr in cpptcl. And since we don't yet use the new C++ standard
    73 # anyway, disable it completely.
    74 ADD_COMPILER_FLAGS("-D_HAS_CPP0X=0" CACHE)
    7570
    7671# Use Link time code generation for Release config if ORXONOX_RELEASE is defined
Note: See TracChangeset for help on using the changeset viewer.