File: cmake-fixes.patch

package info (click to toggle)
libcudacxx 1.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 66,464 kB
  • sloc: cpp: 517,767; ansic: 9,474; python: 6,108; sh: 2,225; asm: 2,154; makefile: 7
file content (14 lines) | stat: -rw-r--r-- 495 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Author: Andreas Beckmann <anbe@debian.org>
Description: misc cmake fixes

--- a/.upstream-tests/test/CMakeLists.txt
+++ b/.upstream-tests/test/CMakeLists.txt
@@ -42,7 +42,7 @@ set(LIBCUDACXX_TEST_COMPILER_FLAGS
   -I${CMAKE_SOURCE_DIR}/include"
   CACHE INTERNAL "Flags for libcxx testing." FORCE)
 
-if (${CMAKE_CUDA_COMPILER_ID} STREQUAL "NVCXX")
+if ("${CMAKE_CUDA_COMPILER_ID}" STREQUAL "NVCXX")
   set(LIBCUDACXX_TEST_COMPILER_FLAGS
     "${LIBCUDACXX_TEST_COMPILER_FLAGS} \
     -stdpar")