summaryrefslogtreecommitdiff
path: root/indra/cmake/00-Common.cmake
diff options
context:
space:
mode:
authorDon Kjer <don@lindenlab.com>2012-10-15 17:36:51 +0000
committerDon Kjer <don@lindenlab.com>2012-10-15 17:36:51 +0000
commitcc5f8686feee4efea124d582b99990dd987e1e98 (patch)
tree772a84895cc717cfe82d668db690d191746e9c8b /indra/cmake/00-Common.cmake
parent08f58ac3fdc89209b7bfbdf009803e75815505f4 (diff)
Speeding up cmake configuration, especially on linux. Re-arranged llrender/llwindow cmake source a bit
Diffstat (limited to 'indra/cmake/00-Common.cmake')
-rw-r--r--indra/cmake/00-Common.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake
index 87fa4cf55a..da0920d048 100644
--- a/indra/cmake/00-Common.cmake
+++ b/indra/cmake/00-Common.cmake
@@ -2,6 +2,9 @@
#
# Compilation options shared by all Second Life components.
+if(NOT DEFINED ${CMAKE_CURRENT_LIST_FILE}_INCLUDED)
+set(${CMAKE_CURRENT_LIST_FILE}_INCLUDED "YES")
+
include(Variables)
# Portable compilation flags.
@@ -234,3 +237,4 @@ else (STANDALONE)
)
endif (STANDALONE)
+endif(NOT DEFINED ${CMAKE_CURRENT_LIST_FILE}_INCLUDED)