Merge pull request #18 from mattparks/patch-3

Only include examples when examples or tools are built.
This commit is contained in:
e-erdal
2021-06-25 15:04:21 +03:00
committed by GitHub

View File

@@ -69,7 +69,9 @@ if( BGFX_BUILD_TOOLS )
include( cmake/tools.cmake )
endif()
include( cmake/examples.cmake )
if( BGFX_BUILD_TOOLS OR BGFX_BUILD_EXAMPLES )
include( cmake/examples.cmake )
endif()
if( BGFX_INSTALL )
include(GNUInstallDirs)