mirror of
https://github.com/bkaradzic/bgfx.cmake.git
synced 2026-02-17 21:12:35 +01:00
Only include examples when examples or tools are built.
tools/texturev and tools/geometryv depend on example-common.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user