Permalink
Browse files

Disable precompiled header by default on Mac

  • Loading branch information...
slipher committed Dec 18, 2018
1 parent a1731c3 commit 14c79c0519308f6a4a2286c4698a92f73cf3fa4e
Showing with 6 additions and 1 deletion.
  1. +6 −1 CMakeLists.txt
@@ -93,7 +93,12 @@ option(USE_HARDENING "Use stack protection and other hardening flags" 0)
option(USE_WERROR "Tell the compiler to make the build fail when warnings are present" 0)
option(USE_PEDANTIC "Tell the compiler to be pedantic" 0)
option(USE_DEBUG_OPTIMIZE "Try to optimize the debug build" 1)
option(USE_PRECOMPILED_HEADER "Improve build times by using a precompiled header" 1)
if (APPLE)
# Turn off by default because it is reportedly broken
option(USE_PRECOMPILED_HEADER "Improve build times by using a precompiled header" 0)
else()
option(USE_PRECOMPILED_HEADER "Improve build times by using a precompiled header" 1)
endif()
option(USE_ADDRESS_SANITIZER "Try to use the address sanitizer" 0)
option(BE_VERBOSE "Tell the compiler to report all warnings" 0)
option(USE_STATIC_LIBS "Tries to use static libs where possible. Only works for Linux" 0)

0 comments on commit 14c79c0

Please sign in to comment.