File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,10 @@ if (${USE_STEVEDORE} STREQUAL "ON")
7979
8080 stevedore(internal -unpack ${stevedore_repo_name} ${fbxsdk_artifact_name} /${fbxsdk_artifact_id} "${CMAKE_BINARY_DIR} /deps/${fbxsdk_artifact_name} " )
8181 stevedore(internal -unpack ${stevedore_repo_name} ${swig_artifact_name} /${swig_artifact_id} "${CMAKE_BINARY_DIR} /deps/${swig_artifact_name} " )
82+
83+ if (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" )
84+ stevedore(internal -unpack ${stevedore_repo_name} fbx-bindings-mac-x64/4.0.1_6063f5e419d0e0dd40b23506f24a269043a8fc16a86bcddd158201d121f9e62b.7z "${CMAKE_BINARY_DIR} /deps/fbx-bindings-mac-x64" )
85+ endif ()
8286
8387 file (GLOB_RECURSE SWIG_EXECUTABLE "${CMAKE_BINARY_DIR} /deps/${swig_artifact_name} /${swig_executable_name} " )
8488 file (GLOB_RECURSE swig_lib "${CMAKE_BINARY_DIR} /deps/${swig_artifact_name} /swig.swg" )
@@ -277,9 +281,11 @@ install(FILES ${CMAKE_BINARY_DIR}/package.json DESTINATION ${CMAKE_INSTALL_PREFI
277281install (DIRECTORY ${CMAKE_BINARY_DIR} /swig/generated /csharp/ DESTINATION ${CMAKE_INSTALL_PREFIX} /com.autodesk.fbx/Runtime/Scripts FILES_MATCHING PATTERN "*.cs" )
278282install (DIRECTORY ${CMAKE_SOURCE_DIR} /Source /optimized/ DESTINATION ${CMAKE_INSTALL_PREFIX} /com.autodesk.fbx/Runtime/Scripts FILES_MATCHING PATTERN "*.cs" )
279283
280- install (TARGETS UnityFbxSdkNative DESTINATION ${CMAKE_INSTALL_PREFIX} /com.autodesk.fbx/Editor/Plugins)
281-
282-
284+ if (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" )
285+ install (DIRECTORY "${CMAKE_BINARY_DIR} /deps/fbx-bindings-mac-x64/UnityFbxSdkNative.bundle" DESTINATION ${CMAKE_INSTALL_PREFIX} /com.autodesk.fbx/Editor/Plugins)
286+ else ()
287+ install (TARGETS UnityFbxSdkNative DESTINATION ${CMAKE_INSTALL_PREFIX} /com.autodesk.fbx/Editor/Plugins)
288+ endif ()
283289
284290install (FILES ${CMAKE_SOURCE_DIR} /CHANGELOG.md DESTINATION ${CMAKE_INSTALL_PREFIX} /com.autodesk.fbx)
285291install (FILES ${CMAKE_SOURCE_DIR} /LICENSE.md DESTINATION ${CMAKE_INSTALL_PREFIX} /com.autodesk.fbx)
You can’t perform that action at this time.
0 commit comments