Remove set_policy for version not knowing it

This commit is contained in:
DrasLorus 2022-04-25 14:24:50 +02:00
parent 4c065ee7a6
commit 12b7d8942a
Signed by: moniere
GPG key ID: 188DD5B072181C0F

View file

@ -159,7 +159,6 @@ if (ENABLE_TESTING)
if (ENABLE_XILINX) if (ENABLE_XILINX)
find_file (INPUT_DAT_TB input.dat HINTS data REQUIRED) find_file (INPUT_DAT_TB input.dat HINTS data REQUIRED)
if (CMAKE_VERSION VERSION_LESS 3.19.0) if (CMAKE_VERSION VERSION_LESS 3.19.0)
cmake_policy (SET CMP0110 OLD)
add_test (NAME "\"Xilinx C-Simulation Testbench\"" COMMAND cordicabs_xilinx_tb add_test (NAME "\"Xilinx C-Simulation Testbench\"" COMMAND cordicabs_xilinx_tb
${INPUT_DAT_TB} ${INPUT_DAT_TB}
) )
@ -198,7 +197,6 @@ if (ENABLE_TESTING)
) )
if (CMAKE_VERSION VERSION_LESS 3.19.0) if (CMAKE_VERSION VERSION_LESS 3.19.0)
cmake_policy (SET CMP0110 OLD)
add_test ( add_test (
NAME "\"Xilinx HLS TCL Flow\"" NAME "\"Xilinx HLS TCL Flow\""
COMMAND ${XILINX_HLS} ${CMAKE_SOURCE_DIR}/hls_files/cordicabs_16_4_6/script_16_4_6.tcl COMMAND ${XILINX_HLS} ${CMAKE_SOURCE_DIR}/hls_files/cordicabs_16_4_6/script_16_4_6.tcl