summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-03-19 16:33:31 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-03-19 16:33:31 +0000
commite7130b79ef860ec74396bb677fadfd63eebc2480 (patch)
treeb1361f188e02c1359d43fccdc324ad409fbbdf57
parentRenamed USAGE_CPU_ACCESSIBLE to USAGE_STAGING (diff)
downloadDiligentTools-e7130b79ef860ec74396bb677fadfd63eebc2480.tar.gz
DiligentTools-e7130b79ef860ec74396bb677fadfd63eebc2480.zip
Improved build configuration
-rw-r--r--CMakeLists.txt8
1 files 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()