Bug 5176886: Enable nvJPEG samples for aarch64

This commit is contained in:
shawnz 2025-03-21 13:02:14 +08:00
parent bd0f630bf4
commit 2848d3bd21
2 changed files with 43 additions and 55 deletions

View File

@ -17,10 +17,6 @@ endif()
# Include directories and libraries
include_directories(../../../Common)
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
message(STATUS "Will not build sample nvJPEG - not supported on aarch64")
else()
# Source file
# Add target for nvJPEG
add_executable(nvJPEG nvJPEG.cpp)
@ -46,5 +42,3 @@ else()
${CMAKE_CURRENT_SOURCE_DIR}/images
${CMAKE_CURRENT_BINARY_DIR}/images
)
endif()

View File

@ -17,10 +17,6 @@ endif()
# Include directories and libraries
include_directories(../../../Common)
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
message(STATUS "Will not build sample nvJPEG_encoder - not supported on aarch64")
else()
# Source file
# Add target for nvJPEG_encoder
add_executable(nvJPEG_encoder nvJPEG_encoder.cpp)
@ -52,5 +48,3 @@ else()
${CMAKE_CURRENT_SOURCE_DIR}/encode_output
${CMAKE_CURRENT_BINARY_DIR}/encode_output
)
endif()