bimg: Restructure bimg*.cmake to be more like bimg*.lua

This commit is contained in:
Sandy Carter
2023-01-07 23:36:58 -05:00
committed by Sandy
parent 422e7cf0f8
commit 03951e805c
16 changed files with 143 additions and 236 deletions

View File

@@ -154,17 +154,7 @@ if(BGFX_INSTALL)
)
if(NOT BGFX_LIBRARY_TYPE MATCHES "SHARED")
install(
TARGETS bimg
bx
astc-encoder
edtaa3
etc1
etc2
iqa
squish
nvtt
pvrtc
tinyexr
TARGETS bimg bx
EXPORT "${TARGETS_EXPORT_NAME}"
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"