Need to link against correct target

pull/3614/head
Rahul Sheth 2021-01-29 17:22:16 -05:00
parent 62c991290b
commit a0116c6e01
1 changed files with 1 additions and 0 deletions

View File

@ -587,6 +587,7 @@ ELSE()
IF(ASSIMP_HUNTER_ENABLED)
hunter_add_package(draco)
find_package(draco CONFIG REQUIRED)
set(draco_LIBRARIES draco::draco)
ELSE()
# Draco 1.4.1 has many warnings and will not build with /WX or -Werror
# See https://github.com/google/draco/issues/672