optimize CMakeLists.txt

This commit is contained in:
xiaozhuai
2020-05-18 15:40:12 +08:00
parent 110f8845a2
commit 80c88ffc73
2 changed files with 2 additions and 2 deletions

View File

@@ -1036,7 +1036,7 @@ ENDIF()
# Check dependencies for glTF importer with Open3DGC-compression.
# RT-extensions is used in "contrib/Open3DGC/o3dgcTimer.h" for collecting statistics. Pointed file
# has implementation for different platforms: WIN32, __MACH__ and other ("else" block).
FIND_PACKAGE(RT QUIET)
FIND_PACKAGE(rt QUIET)
IF (NOT ASSIMP_HUNTER_ENABLED AND (RT_FOUND OR MSVC))
SET( ASSIMP_IMPORTER_GLTF_USE_OPEN3DGC 1 )
ADD_DEFINITIONS( -DASSIMP_IMPORTER_GLTF_USE_OPEN3DGC=1 )