mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-07-02 05:10:31 +08:00
Bug 5176886: Enable nvJPEG samples for aarch64
This commit is contained in:
parent
bd0f630bf4
commit
2848d3bd21
@ -17,10 +17,6 @@ endif()
|
|||||||
# Include directories and libraries
|
# Include directories and libraries
|
||||||
include_directories(../../../Common)
|
include_directories(../../../Common)
|
||||||
|
|
||||||
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
|
|
||||||
message(STATUS "Will not build sample nvJPEG - not supported on aarch64")
|
|
||||||
else()
|
|
||||||
|
|
||||||
# Source file
|
# Source file
|
||||||
# Add target for nvJPEG
|
# Add target for nvJPEG
|
||||||
add_executable(nvJPEG nvJPEG.cpp)
|
add_executable(nvJPEG nvJPEG.cpp)
|
||||||
@ -46,5 +42,3 @@ else()
|
|||||||
${CMAKE_CURRENT_SOURCE_DIR}/images
|
${CMAKE_CURRENT_SOURCE_DIR}/images
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/images
|
${CMAKE_CURRENT_BINARY_DIR}/images
|
||||||
)
|
)
|
||||||
|
|
||||||
endif()
|
|
||||||
|
@ -17,10 +17,6 @@ endif()
|
|||||||
# Include directories and libraries
|
# Include directories and libraries
|
||||||
include_directories(../../../Common)
|
include_directories(../../../Common)
|
||||||
|
|
||||||
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
|
|
||||||
message(STATUS "Will not build sample nvJPEG_encoder - not supported on aarch64")
|
|
||||||
else()
|
|
||||||
|
|
||||||
# Source file
|
# Source file
|
||||||
# Add target for nvJPEG_encoder
|
# Add target for nvJPEG_encoder
|
||||||
add_executable(nvJPEG_encoder nvJPEG_encoder.cpp)
|
add_executable(nvJPEG_encoder nvJPEG_encoder.cpp)
|
||||||
@ -52,5 +48,3 @@ else()
|
|||||||
${CMAKE_CURRENT_SOURCE_DIR}/encode_output
|
${CMAKE_CURRENT_SOURCE_DIR}/encode_output
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/encode_output
|
${CMAKE_CURRENT_BINARY_DIR}/encode_output
|
||||||
)
|
)
|
||||||
|
|
||||||
endif()
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user