Skip to content

Commit

Permalink
CMake|GCC: Disable cotire by default
Browse files Browse the repository at this point in the history
Seems to have problems when using C++11.
  • Loading branch information
skyjake committed Aug 9, 2015
1 parent df84abb commit a88ceb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doomsday/cmake/Options.cmake
Expand Up @@ -2,7 +2,8 @@ option (DENG_ENABLE_GUI "Enable/disable the client and all GUI related functiona
option (DENG_ENABLE_SDK "Enable/disable installation of the Doomsday 2 SDK" ON)
option (DENG_ENABLE_TOOLS "Compile the Doomsday tools" ON)

if (CCACHE_FOUND)
if (CCACHE_FOUND OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
# GCC seems to have trouble with cotire when using C++11.
set (DENG_ENABLE_COTIRE_DEFAULT OFF) # just use the cache
else ()
set (DENG_ENABLE_COTIRE_DEFAULT ON)
Expand Down

0 comments on commit a88ceb1

Please sign in to comment.