summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorMark Palange <palange@lindenlab.com>2008-07-03 21:10:36 +0000
committerMark Palange <palange@lindenlab.com>2008-07-03 21:10:36 +0000
commit1d12a5c20a382ce94dec5f5b388267f62c7c549b (patch)
treef9ebd8bd9e79f5b804bbc3078e2e98ee21b0d830 /indra/cmake
parente6dcb705a557e25b5cc0c132b60de42ea0acf440 (diff)
DEV-17460 updated the cmake SERVER variable init to work reliably
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/Variables.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/cmake/Variables.cmake b/indra/cmake/Variables.cmake
index 004985d603..e537772fa5 100644
--- a/indra/cmake/Variables.cmake
+++ b/indra/cmake/Variables.cmake
@@ -81,9 +81,9 @@ set(VIEWER ON CACHE BOOL "Build Second Life viewer.")
set(STANDALONE OFF CACHE BOOL "Do not use Linden-supplied prebuilt libraries.")
-if (NOT STANDALONE AND EXISTS ${LIBS_PREBUILT_DIR}/include/havok)
+if (NOT STANDALONE AND EXISTS ${CMAKE_SOURCE_DIR}/llphysics)
set(SERVER ON CACHE BOOL "Build Second Life server software.")
-endif (NOT STANDALONE AND EXISTS ${LIBS_PREBUILT_DIR}/include/havok)
+endif (NOT STANDALONE AND EXISTS ${CMAKE_SOURCE_DIR}/llphysics)
if (LINUX AND SERVER AND VIEWER)
MESSAGE(FATAL_ERROR "