From 2dc88c70f8a81ed5d7052c44e4ff195f3af7e752 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sun, 26 Mar 2017 22:17:59 +0200 Subject: [PATCH] Core: Only build Recast with tools selected --- dep/recastnavigation/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dep/recastnavigation/CMakeLists.txt b/dep/recastnavigation/CMakeLists.txt index ab2c5618bfd..a7c4aa70186 100644 --- a/dep/recastnavigation/CMakeLists.txt +++ b/dep/recastnavigation/CMakeLists.txt @@ -17,4 +17,6 @@ # add_subdirectory(Detour) -add_subdirectory(Recast) +if(TOOLS) + add_subdirectory(Recast) +endif()