Fix draco building error when import assimp with cmake add_subdirectory #3663

pull/4483/head
Guangmo Lin 2022-04-11 15:05:38 +08:00
parent 75ab2beb06
commit 778ac976b2
No known key found for this signature in database
GPG Key ID: 941C6CDAC29D1AE5
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ endif()
set(draco_root "${CMAKE_CURRENT_SOURCE_DIR}") set(draco_root "${CMAKE_CURRENT_SOURCE_DIR}")
set(draco_src_root "${draco_root}/src/draco") 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}") if("${draco_root}" STREQUAL "${draco_build}")
message( message(