We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 440fdc6 commit 72ee950Copy full SHA for 72ee950
1 file changed
cmake/modules/VTA.cmake
@@ -39,8 +39,10 @@ elseif(PYTHON)
39
endif(APPLE)
40
41
# PYNQ rules for pynq v2.3
42
- find_library(__cma_lib NAMES cma PATH /usr/lib)
43
- target_link_libraries(vta ${__cma_lib})
+ if (${VTA_TARGET} STREQUAL "pynq" OR ${VTA_TARGET} STREQUAL "ultra96")
+ find_library(__cma_lib NAMES cma PATH /usr/lib)
44
+ target_link_libraries(vta ${__cma_lib})
45
+ endif()
46
else()
47
message(STATUS "Cannot found python in env, VTA build is skipped..")
48
endif()
0 commit comments