File tree Expand file tree Collapse file tree 8 files changed +9
-1
lines changed Expand file tree Collapse file tree 8 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ target_link_libraries(cvcuda_module_python
7575 nvcv_util_compat
7676 cvcuda
7777 nvcv_python_common
78+ -lrt
7879)
7980
8081set_target_properties (cvcuda_module_python PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY} /python)
Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ target_link_libraries(nvcv_module_python
7979 nvcv_python_common
8080 CUDA::cudart_static
8181 dlpack::dlpack
82+ -lrt
8283)
8384
8485add_library (pynvcv INTERFACE )
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ target_link_libraries(cvcuda
6161 PUBLIC
6262 CUDA::cudart_static
6363 nvcv_types
64+ -lrt
6465 PRIVATE
6566 nvcv_util
6667 nvcv_util_symver
Original file line number Diff line number Diff line change @@ -64,4 +64,5 @@ target_link_libraries(cvcuda_priv
6464 nvcv_util_sanitizer
6565 cvcuda_legacy
6666 CUDA::cudart_static
67+ -lrt
6768)
Original file line number Diff line number Diff line change @@ -81,4 +81,5 @@ target_link_libraries(cvcuda_legacy
8181 nvcv_types
8282 nvcv_util
8383 cvcuda_headers
84+ -lrt
8485)
Original file line number Diff line number Diff line change 1- # SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+ # SPDX-FileCopyrightText: Copyright (c) 2022-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22# SPDX-License-Identifier: Apache-2.0
33#
44# Licensed under the Apache License, Version 2.0 (the "License");
@@ -48,4 +48,5 @@ target_link_libraries(nvcv_types_priv
4848 nvcv_types_headers
4949 nvcv_util_sanitizer
5050 CUDA::cudart_static
51+ -lrt
5152)
Original file line number Diff line number Diff line change @@ -190,6 +190,7 @@ target_link_libraries(nvcv_util
190190 nvcv_types_headers
191191 CUDA::cudart_static
192192 nvcv_util_compat
193+ -lrt
193194)
194195
195196target_compile_definitions (nvcv_util
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ target_link_libraries(nvcv_test_main
3030 PRIVATE
3131 nvcv_types
3232 CUDA::cudart_static
33+ -lrt
3334)
3435
3536# Now we want to create a script in the output directory that will run
You can’t perform that action at this time.
0 commit comments