From 37bd83799eb09709a2cc5463f0909b396f906109 Mon Sep 17 00:00:00 2001 From: Marius Meyer Date: Wed, 1 Feb 2023 15:06:03 +0100 Subject: [PATCH] Add FPL 7.1 to search path --- cmake/FindVitis.cmake | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/cmake/FindVitis.cmake b/cmake/FindVitis.cmake index f41e2bc..6bf5c7f 100644 --- a/cmake/FindVitis.cmake +++ b/cmake/FindVitis.cmake @@ -138,12 +138,18 @@ if(CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)|(amd64)|(AMD64)") # Floating point library #---------------------------------------------------------------------------- - find_library(Vitis_FLOATING_POINT_LIBRARY Ip_floating_point_v7_0_bitacc_cmodel + find_library(Vitis_FLOATING_POINT_LIBRARY + NAMES + Ip_floating_point_v7_0_bitacc_cmodel + Ip_floating_point_v7_1_bitacc_cmodel PATHS - ${VITIS_ROOT}/lnx64/tools/fpo_v7_0 - ${VITIS_ROOT}/../../Vitis_HLS/${Vitis_VERSION}/lnx64/tools/fpo_v7_0 - ${VITIS_ROOT}/../../Vivado/${Vitis_VERSION}/lnx64/tools/fpo_v7_0 - ${VITIS_ROOT}/Vivado_HLS/lnx64/tools/fpo_v7_0) + ${VITIS_ROOT}/lnx64/tools/ + ${VITIS_ROOT}/../../Vitis_HLS/${Vitis_VERSION}/lnx64/tools/ + ${VITIS_ROOT}/../../Vivado/${Vitis_VERSION}/lnx64/tools/ + ${VITIS_ROOT}/Vivado_HLS/lnx64/tools/ + PATH_SUFFIXES + fpo_v7_0 + fpo_v7_1) mark_as_advanced(Vitis_FLOATING_POINT_LIBRARY) get_filename_component(VITIS_FP_DIR ${Vitis_FLOATING_POINT_LIBRARY}