mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2026-11-18 09:58:18 +08:00
Bug 5591814: Update CMakeLists.txt and add cmake/InstallSamples.cmake to support make install
This commit is contained in:
@@ -22,4 +22,10 @@ endif()
|
||||
|
||||
set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} --extended-lambda")
|
||||
|
||||
# Include installation configuration
|
||||
include(cmake/InstallSamples.cmake)
|
||||
|
||||
add_subdirectory(Samples)
|
||||
|
||||
# Setup installation for all samples
|
||||
setup_samples_install()
|
||||
|
||||
Reference in New Issue
Block a user