summaryrefslogtreecommitdiff
path: root/indra/cmake/Prebuilt.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/Prebuilt.cmake
parent08f58ac3fdc89209b7bfbdf009803e75815505f4 (diff)
Speeding up cmake configuration, especially on linux. Re-arranged llrender/llwindow cmake source a bit
Diffstat (limited to 'indra/cmake/Prebuilt.cmake')
-rw-r--r--indra/cmake/Prebuilt.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/cmake/Prebuilt.cmake b/indra/cmake/Prebuilt.cmake
index dbb4dfc46c..ac0cbde253 100644
--- a/indra/cmake/Prebuilt.cmake
+++ b/indra/cmake/Prebuilt.cmake
@@ -1,5 +1,8 @@
# -*- cmake -*-
+if(NOT DEFINED ${CMAKE_CURRENT_LIST_FILE}_INCLUDED)
+set(${CMAKE_CURRENT_LIST_FILE}_INCLUDED "YES")
+
include(FindAutobuild)
if(INSTALL_PROPRIETARY)
include(FindSCP)
@@ -51,3 +54,5 @@ macro (use_prebuilt_binary _binary)
endif (NOT ${_binary}_installed EQUAL 0)
endif (NOT STANDALONE_${_binary})
endmacro (use_prebuilt_binary _binary)
+
+endif(NOT DEFINED ${CMAKE_CURRENT_LIST_FILE}_INCLUDED)