summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorbrad kittenbrink <brad@lindenlab.com>2009-11-13 20:30:54 -0500
committerbrad kittenbrink <brad@lindenlab.com>2009-11-13 20:30:54 -0500
commit67f11add9c2e05e1c86e30c44c94ee1b7d9205d0 (patch)
tree9122f8ead3df025695143234e0e198cf51e47461 /indra/cmake
parent9897e53de5adcdedbe086df38b740bf4c2d8abe7 (diff)
Added a USE_PRECOMPILED_HEADER cmake variable (defaulted on) and disabled pch usage for test executables. Reviewed by james and steve.
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/Variables.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/cmake/Variables.cmake b/indra/cmake/Variables.cmake
index d4f9ed79de..db0b44eb8f 100644
--- a/indra/cmake/Variables.cmake
+++ b/indra/cmake/Variables.cmake
@@ -116,4 +116,7 @@ For more information, please see JIRA DEV-14943 - Cmake Linux cannot build both
")
endif (LINUX AND SERVER AND VIEWER)
+
+set(USE_PRECOMPILED_HEADERS ON CACHE BOOL "Enable use of precompiled header directives where supported.")
+
source_group("CMake Rules" FILES CMakeLists.txt)