File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -387,12 +387,15 @@ if (VKB_PROFILING)
387387endif ()
388388
389389# ai-ml-sdk-vgf-library
390- set (FLATBUFFERS_PATH "${CMAKE_SOURCE_DIR} /third_party/flatbuffers" )
391- set (ML_SDK_VGF_LIB_BUILD_TOOLS OFF )
392- add_subdirectory (ai-ml-sdk-vgf-library )
390+ if (NOT IOS )
391+ set (FLATBUFFERS_PATH "${CMAKE_SOURCE_DIR} /third_party/flatbuffers" )
392+ set (ML_SDK_VGF_LIB_BUILD_TOOLS OFF )
393+ add_subdirectory (ai-ml-sdk-vgf-library )
393394
394- # The DEBUG define set in global_options.cmake clashes with an enum value defined in ai-ml-sdk-vgf-library/include/vgf/logging.hpp,
395- # work around this by disabling the DEBUG define for this target.
396- target_compile_options (vgf PRIVATE -UDEBUG )
395+ # The DEBUG define set in global_options.cmake clashes with an enum value defined in ai-ml-sdk-vgf-library/include/vgf/logging.hpp,
396+ # work around this by disabling the DEBUG define for this target.
397+ target_compile_options (vgf PRIVATE -UDEBUG )
398+
399+ set_target_properties (vgf PROPERTIES FOLDER "ThirdParty" POSITION_INDEPENDENT_CODE ON )
400+ endif ()
397401
398- set_target_properties (vgf PROPERTIES FOLDER "ThirdParty" POSITION_INDEPENDENT_CODE ON )
You can’t perform that action at this time.
0 commit comments