From 778ac976b2ae74aa489bb438106f53d538c11bcb Mon Sep 17 00:00:00 2001 From: Guangmo Lin Date: Mon, 11 Apr 2022 15:05:38 +0800 Subject: [PATCH] Fix draco building error when import assimp with cmake add_subdirectory #3663 --- contrib/draco/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/draco/CMakeLists.txt b/contrib/draco/CMakeLists.txt index 5526e7f60..6ea9b21fd 100644 --- a/contrib/draco/CMakeLists.txt +++ b/contrib/draco/CMakeLists.txt @@ -10,7 +10,7 @@ endif() set(draco_root "${CMAKE_CURRENT_SOURCE_DIR}") set(draco_src_root "${draco_root}/src/draco") -set(draco_build "${CMAKE_BINARY_DIR}") +set(draco_build "${Assimp_BINARY_DIR}") if("${draco_root}" STREQUAL "${draco_build}") message(