mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2026-10-25 22:28:17 +08:00
Bug 5591814: Support "make install" in single sample folder
This commit is contained in:
@@ -62,3 +62,7 @@ add_custom_target(generate_ptxjit_ptx ALL DEPENDS ${CUDA_PTX_FILE})
|
||||
|
||||
# Ensure ptxjit depends on the fatbin
|
||||
add_dependencies(ptxjit generate_ptxjit_ptx)
|
||||
|
||||
# Include installation configuration
|
||||
include(${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake/InstallSamples.cmake)
|
||||
setup_samples_install()
|
||||
|
||||
Reference in New Issue
Block a user