From 53aeb00712691d6eb1b378493a957b7d15e2f736 Mon Sep 17 00:00:00 2001 From: Nicky Date: Sat, 2 Mar 2019 23:29:35 +0100 Subject: [PATCH] Test for SINGLEGRID during Havok builds, mostly to make cmake happy about this variable being used. Bonus fact that it also warns now if someone tries to use it for Havok versions. --- indra/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/indra/CMakeLists.txt b/indra/CMakeLists.txt index 96b2a62e62..4b7b36735c 100644 --- a/indra/CMakeLists.txt +++ b/indra/CMakeLists.txt @@ -31,6 +31,9 @@ if (OPENSIM) message("compiling with OpenSim support") endif (SINGLEGRID) else (OPENSIM) + if (SINGLEGRID) + message( WARNING "Value for SINGLEGRID is unused during Havok/SecondLife builds" ) + endif() message("compiling without OpenSim support") endif (OPENSIM) #