From da9aa4c9dbd8d30cb04dd46d9e13c78ea2c2ce23 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Thu, 5 Apr 2012 12:49:41 +0200 Subject: [PATCH] Changed: Allow compiling max plugins without the other tools. --HG-- branch : build_pipeline_v3 --- code/nel/tools/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/code/nel/tools/CMakeLists.txt b/code/nel/tools/CMakeLists.txt index a2127493f..ee28183f8 100644 --- a/code/nel/tools/CMakeLists.txt +++ b/code/nel/tools/CMakeLists.txt @@ -1,5 +1,9 @@ -ADD_SUBDIRECTORY(misc) -ADD_SUBDIRECTORY(memory) + +# Don't add other subdirectories if only max plugins are selected. +IF(WITH_NEL_TOOLS) + ADD_SUBDIRECTORY(misc) + ADD_SUBDIRECTORY(memory) +ENDIF(WITH_NEL_TOOLS) # Max plugins are under the 3d directory as well. IF(WITH_3D)