diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-03-19 16:33:31 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-03-19 16:33:31 +0000 |
| commit | e7130b79ef860ec74396bb677fadfd63eebc2480 (patch) | |
| tree | b1361f188e02c1359d43fccdc324ad409fbbdf57 | |
| parent | Renamed USAGE_CPU_ACCESSIBLE to USAGE_STAGING (diff) | |
| download | DiligentTools-e7130b79ef860ec74396bb677fadfd63eebc2480.tar.gz DiligentTools-e7130b79ef860ec74396bb677fadfd63eebc2480.zip | |
Improved build configuration
| -rw-r--r-- | CMakeLists.txt | 8 |
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() |
