summaryrefslogtreecommitdiff
path: root/indra/cmake/Linking.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/Linking.cmake
parent08f58ac3fdc89209b7bfbdf009803e75815505f4 (diff)
Speeding up cmake configuration, especially on linux. Re-arranged llrender/llwindow cmake source a bit
Diffstat (limited to 'indra/cmake/Linking.cmake')
-rw-r--r--indra/cmake/Linking.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/cmake/Linking.cmake b/indra/cmake/Linking.cmake
index c3e3a80fd0..b9c9e531fc 100644
--- a/indra/cmake/Linking.cmake
+++ b/indra/cmake/Linking.cmake
@@ -1,5 +1,8 @@
# -*- cmake -*-
+if(NOT DEFINED ${CMAKE_CURRENT_LIST_FILE}_INCLUDED)
+set(${CMAKE_CURRENT_LIST_FILE}_INCLUDED "YES")
+
include(Variables)
set(ARCH_PREBUILT_DIRS ${AUTOBUILD_INSTALL_DIR}/lib)
@@ -69,3 +72,5 @@ else (WINDOWS)
endif (WINDOWS)
mark_as_advanced(DL_LIBRARY PTHREAD_LIBRARY WINDOWS_LIBRARIES)
+
+endif(NOT DEFINED ${CMAKE_CURRENT_LIST_FILE}_INCLUDED)