Skip to content

Commit 5752fa8

Browse files
FPGA: Add print statement to mem_channel tutorial to avoid cmake warning (#2322)
This change adds a print statement of the DEVICE_FLAG so that a CMake "unused variable" warning is not emitted.
1 parent c65d570 commit 5752fa8

File tree

1 file changed

+2
-0
lines changed
  • DirectProgramming/C++SYCL_FPGA/Tutorials/Features/mem_channel

1 file changed

+2
-0
lines changed

DirectProgramming/C++SYCL_FPGA/Tutorials/Features/mem_channel/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ if(NOT DEFINED DEVICE_FLAG)
5757
-DDEVICE_FLAG=Agilex7.")
5858
endif()
5959

60+
message("\tDEVICE_FLAG set to ${DEVICE_FLAG}")
61+
6062
if (NOT DEFINED PART)
6163
set (PART " ")
6264
endif()

0 commit comments

Comments
 (0)