Install bgfxToolUtils even if not building tools

Fixes corner case of cross compiling with tools from host platform
This commit is contained in:
Sandy Carter
2022-08-23 20:48:25 -04:00
committed by Sandy
parent 5ba5a38762
commit 2051444e25

View File

@@ -160,9 +160,9 @@ if( BGFX_INSTALL )
)
# install tools
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/cmake/bgfxToolUtils.cmake
DESTINATION "${config_install_dir}")
if( BGFX_BUILD_TOOLS )
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/cmake/bgfxToolUtils.cmake
DESTINATION "${config_install_dir}")
install( TARGETS shaderc
EXPORT "${TARGETS_EXPORT_NAME}"
DESTINATION "${CMAKE_INSTALL_BINDIR}" )