diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index 02ba7a08e..2c86f3bfb 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -1388,7 +1388,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 ()