diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index fad39a216..cbca2e65d 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -1390,7 +1390,7 @@ ENDIF() # Add RT-extension library for glTF importer with Open3DGC-compression. IF (RT_FOUND AND ASSIMP_IMPORTER_GLTF_USE_OPEN3DGC) - TARGET_LINK_LIBRARIES(assimp ${RT_LIBRARY}) + TARGET_LINK_LIBRARIES(assimp rt) ENDIF ()