summaryrefslogtreecommitdiffstats
path: root/Projects
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-12-01 18:30:08 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-12-01 18:30:08 +0000
commit2438c6fbbd42a1369cc7122f935b5dc9ea8dd901 (patch)
tree1413334ff93efe231d6a288ede2046ca88c1b4b8 /Projects
parentFixed yet another 32-bit build issue (diff)
downloadDiligentEngine-2438c6fbbd42a1369cc7122f935b5dc9ea8dd901.tar.gz
DiligentEngine-2438c6fbbd42a1369cc7122f935b5dc9ea8dd901.zip
Added DILIGENT_BUILD_TOOLS cmake option
Diffstat (limited to 'Projects')
-rw-r--r--Projects/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Projects/CMakeLists.txt b/Projects/CMakeLists.txt
index ad8a935..413da77 100644
--- a/Projects/CMakeLists.txt
+++ b/Projects/CMakeLists.txt
@@ -1,5 +1,9 @@
cmake_minimum_required (VERSION 3.3)
if(PLATFORM_WIN32 AND D3D11_SUPPORTED AND D3D12_SUPPORTED)
- add_subdirectory(Asteroids)
+ if(TARGET Diligent-TextureLoader)
+ add_subdirectory(Asteroids)
+ else()
+ message("Unable to find Diligent-TextureLoader target: Asteroids demo will be disabled")
+ endif()
endif()