From e7130b79ef860ec74396bb677fadfd63eebc2480 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Tue, 19 Mar 2019 09:33:31 -0700 Subject: Improved build configuration --- CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1925ccd..322f70e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,12 @@ cmake_minimum_required (VERSION 3.6) add_subdirectory(External) -add_subdirectory(RenderScript) add_subdirectory(TextureLoader) + +if(${DILIGENT_BUILD_RENDER_SCRIPT}) + add_subdirectory(RenderScript) +endif() + if(PLATFORM_WIN32 AND GL_SUPPORTED) add_subdirectory(HLSL2GLSLConverter) -endif() \ No newline at end of file +endif() -- cgit v1.2.3