diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-11-21 03:11:36 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-11-21 03:11:36 +0000 |
| commit | c09da3d10c9a2cf5cf113070b16ef7ebab168dcf (patch) | |
| tree | 810470845f78a153ce802dc83424a91afae5ee62 | |
| parent | Fixed imgui install path (diff) | |
| download | DiligentTools-c09da3d10c9a2cf5cf113070b16ef7ebab168dcf.tar.gz DiligentTools-c09da3d10c9a2cf5cf113070b16ef7ebab168dcf.zip | |
Added INSTALL_DILIGENT_TOOLS cmake option
| -rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ce57701..94f4d2c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,8 +4,10 @@ option(DILIGENT_BUILD_RENDER_SCRIPT "Build render script" ON) file(RELATIVE_PATH DILIGENT_TOOLS_DIR "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}") -if(NOT INSTALL_DILIGENT_TOOLS) - set(INSTALL_DILIGENT_TOOLS ${INSTALL_DILIGENT_CORE}) +if(PLATFORM_WIN32 OR PLATFORM_UNIVERSAL_WINDOWS OR PLATFORM_LINUX OR PLATFORM_MACOS OR PLATFORM_IOS) + option(INSTALL_DILIGENT_TOOLS "Install DiligentTool module headers and libraries" ON) +else() + set(INSTALL_DILIGENT_TOOLS OFF) endif() function(install_tools_lib _TARGET) |
