Skip to content

Commit a7c9b8c

Browse files
author
Hugh Delaney
committed
Fix cmake
Set UR_CONFORMANCE_DEVICE_BINARIES_DIR earlier. Sometimes this var wasn't being set before it was used.
1 parent 836ded1 commit a7c9b8c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/conformance/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55

66
set(UR_CONFORMANCE_TEST_DIR ${CMAKE_CURRENT_SOURCE_DIR})
77

8+
set(UR_CONFORMANCE_DEVICE_BINARIES_DIR
9+
"${CMAKE_CURRENT_BINARY_DIR}/device_binaries" CACHE INTERNAL
10+
"Internal cache variable for device binaries directory")
11+
812
function(add_test_adapter name adapter)
913
set(TEST_TARGET_NAME test-${name})
1014
set(TEST_NAME ${name}-${adapter})

0 commit comments

Comments
 (0)