Skip to content

Commit

Permalink
macOS|CMake: Disable cotire/precompiled headers by default
Browse files Browse the repository at this point in the history
cotire doesn't seem to be compatible at the moment. It is mostly
useful with Windows / Visual Studio.
  • Loading branch information
skyjake committed Dec 15, 2017
1 parent e9c366c commit a87aa5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/cmake/Options.cmake
Expand Up @@ -18,7 +18,7 @@ option (DENG_ENABLE_SDK "Enable/disable installation of the Doomsday 2 SDK"
option (DENG_ENABLE_TOOLS "Compile the Doomsday tools" ON)
option (DENG_ENABLE_DEPLOYQT "Enable/disable the *deployqt tool" ON)

if (CCACHE_FOUND OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
if (APPLE OR 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 ()
Expand Down

0 comments on commit a87aa5e

Please sign in to comment.