Skip to content

Commit

Permalink
feat: Enable embed bitcode for target obj_basisu_cbind. (#882)
Browse files Browse the repository at this point in the history
  • Loading branch information
atteneder authored Mar 26, 2024
1 parent 6ccc064 commit 7b08daa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions interface/basisu_c_binding/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,8 @@ if(WIN32)
PRIVATE
$<IF:$<STREQUAL:"${LIB_TYPE}","STATIC">,KHRONOS_STATIC,KTX_BASISU_API=__declspec\(dllexport\)>
)
elseif(APPLE)
if(KTX_EMBED_BITCODE)
target_compile_options(obj_basisu_cbind PRIVATE "-fembed-bitcode")
endif()
endif()

0 comments on commit 7b08daa

Please sign in to comment.