Browse Source

Fix librt link

Mathieu Westphal 2 years ago
parent
commit
69145c8929
1 changed files with 1 additions and 1 deletions
  1. 1 1
      code/CMakeLists.txt

+ 1 - 1
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 ()