Need to link against correct target

This commit is contained in:
Rahul Sheth
2021-01-29 17:22:16 -05:00
parent 62c991290b
commit a0116c6e01

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